aboutsummaryrefslogtreecommitdiff
path: root/default
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-08-15 17:28:35 +0300
committerValentin Popov <info@valentineus.link>2018-08-15 17:39:36 +0300
commit8f92f77d5afda97e2f4c7b0a244143082f380a5c (patch)
tree56be31ee8b5a6099119dd056cfbb5c6a0d423c8b /default
parent9bf889fa159784967814890435c416518fa0c3a7 (diff)
downloaddocker-meteor-8f92f77d5afda97e2f4c7b0a244143082f380a5c.tar.xz
docker-meteor-8f92f77d5afda97e2f4c7b0a244143082f380a5c.zip
Reconfiguration of the build algorithm
Diffstat (limited to 'default')
-rw-r--r--default/1.5/Dockerfile26
-rw-r--r--default/1.6/Dockerfile26
-rw-r--r--default/1.7/Dockerfile26
-rw-r--r--default/latest/Dockerfile7
-rw-r--r--default/release/Dockerfile (renamed from default/1.4/Dockerfile)10
5 files changed, 6 insertions, 89 deletions
diff --git a/default/1.5/Dockerfile b/default/1.5/Dockerfile
deleted file mode 100644
index a4e61bd..0000000
--- a/default/1.5/Dockerfile
+++ /dev/null
@@ -1,26 +0,0 @@
-FROM ubuntu:rolling
-LABEL maintainer="info@valentineus.link"
-
-ENV METEOR_ALLOW_SUPERUSER="true"
-ENV RELEASE="1.5"
-WORKDIR "/workspace"
-
-RUN set -ex \
- && apt-get update \
- && apt-get --no-install-recommends --no-install-suggests --yes install \
- ca-certificates \
- curl \
- git \
- openssl \
- && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \
- && apt-get --purge --yes remove curl \
- && apt-get --purge --yes autoremove \
- && apt-get clean \
- && find /tmp -type f -exec rm {} \; \
- && find /var/cache -type f -exec rm {} \; \
- && find /var/lib/apt/lists -type f -exec rm {} \; \
- && find /var/log -type f -exec rm {} \; \
- && find /var/tmp -type f -exec rm {} \;
-
-EXPOSE 3000
-CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file
diff --git a/default/1.6/Dockerfile b/default/1.6/Dockerfile
deleted file mode 100644
index 256863e..0000000
--- a/default/1.6/Dockerfile
+++ /dev/null
@@ -1,26 +0,0 @@
-FROM ubuntu:rolling
-LABEL maintainer="info@valentineus.link"
-
-ENV METEOR_ALLOW_SUPERUSER="true"
-ENV RELEASE="1.6"
-WORKDIR "/workspace"
-
-RUN set -ex \
- && apt-get update \
- && apt-get --no-install-recommends --no-install-suggests --yes install \
- ca-certificates \
- curl \
- git \
- openssl \
- && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \
- && apt-get --purge --yes remove curl \
- && apt-get --purge --yes autoremove \
- && apt-get clean \
- && find /tmp -type f -exec rm {} \; \
- && find /var/cache -type f -exec rm {} \; \
- && find /var/lib/apt/lists -type f -exec rm {} \; \
- && find /var/log -type f -exec rm {} \; \
- && find /var/tmp -type f -exec rm {} \;
-
-EXPOSE 3000
-CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file
diff --git a/default/1.7/Dockerfile b/default/1.7/Dockerfile
deleted file mode 100644
index 6ccb293..0000000
--- a/default/1.7/Dockerfile
+++ /dev/null
@@ -1,26 +0,0 @@
-FROM ubuntu:rolling
-LABEL maintainer="info@valentineus.link"
-
-ENV METEOR_ALLOW_SUPERUSER="true"
-ENV RELEASE="1.7"
-WORKDIR "/workspace"
-
-RUN set -ex \
- && apt-get update \
- && apt-get --no-install-recommends --no-install-suggests --yes install \
- ca-certificates \
- curl \
- git \
- openssl \
- && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \
- && apt-get --purge --yes remove curl \
- && apt-get --purge --yes autoremove \
- && apt-get clean \
- && find /tmp -type f -exec rm {} \; \
- && find /var/cache -type f -exec rm {} \; \
- && find /var/lib/apt/lists -type f -exec rm {} \; \
- && find /var/log -type f -exec rm {} \; \
- && find /var/tmp -type f -exec rm {} \;
-
-EXPOSE 3000
-CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file
diff --git a/default/latest/Dockerfile b/default/latest/Dockerfile
index d19b1d0..5252e7e 100644
--- a/default/latest/Dockerfile
+++ b/default/latest/Dockerfile
@@ -2,15 +2,11 @@ FROM ubuntu:rolling
LABEL maintainer="info@valentineus.link"
ENV METEOR_ALLOW_SUPERUSER="true"
-WORKDIR "/workspace"
RUN set -ex \
&& apt-get update \
&& apt-get --no-install-recommends --no-install-suggests --yes install \
- ca-certificates \
- curl \
- git \
- openssl \
+ ca-certificates curl git openssl \
&& curl https://install.meteor.com | sh \
&& apt-get --purge --yes remove curl \
&& apt-get --purge --yes autoremove \
@@ -22,4 +18,5 @@ RUN set -ex \
&& find /var/tmp -type f -exec rm {} \;
EXPOSE 3000
+WORKDIR "/workspace"
CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file
diff --git a/default/1.4/Dockerfile b/default/release/Dockerfile
index 470de98..0eb29a9 100644
--- a/default/1.4/Dockerfile
+++ b/default/release/Dockerfile
@@ -2,16 +2,13 @@ FROM ubuntu:rolling
LABEL maintainer="info@valentineus.link"
ENV METEOR_ALLOW_SUPERUSER="true"
-ENV RELEASE="1.4"
-WORKDIR "/workspace"
+
+ARG release
RUN set -ex \
&& apt-get update \
&& apt-get --no-install-recommends --no-install-suggests --yes install \
- ca-certificates \
- curl \
- git \
- openssl \
+ ca-certificates curl git openssl \
&& curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \
&& apt-get --purge --yes remove curl \
&& apt-get --purge --yes autoremove \
@@ -23,4 +20,5 @@ RUN set -ex \
&& find /var/tmp -type f -exec rm {} \;
EXPOSE 3000
+WORKDIR "/workspace"
CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file