From 8f92f77d5afda97e2f4c7b0a244143082f380a5c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 15 Aug 2018 18:28:35 +0400 Subject: Reconfiguration of the build algorithm --- default/1.4/Dockerfile | 26 -------------------------- default/1.5/Dockerfile | 26 -------------------------- default/1.6/Dockerfile | 26 -------------------------- default/1.7/Dockerfile | 26 -------------------------- default/latest/Dockerfile | 7 ++----- default/release/Dockerfile | 24 ++++++++++++++++++++++++ 6 files changed, 26 insertions(+), 109 deletions(-) delete mode 100644 default/1.4/Dockerfile delete mode 100644 default/1.5/Dockerfile delete mode 100644 default/1.6/Dockerfile delete mode 100644 default/1.7/Dockerfile create mode 100644 default/release/Dockerfile (limited to 'default') diff --git a/default/1.4/Dockerfile b/default/1.4/Dockerfile deleted file mode 100644 index 470de98..0000000 --- a/default/1.4/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM ubuntu:rolling -LABEL maintainer="info@valentineus.link" - -ENV METEOR_ALLOW_SUPERUSER="true" -ENV RELEASE="1.4" -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.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/release/Dockerfile b/default/release/Dockerfile new file mode 100644 index 0000000..0eb29a9 --- /dev/null +++ b/default/release/Dockerfile @@ -0,0 +1,24 @@ +FROM ubuntu:rolling +LABEL maintainer="info@valentineus.link" + +ENV METEOR_ALLOW_SUPERUSER="true" + +ARG release + +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 +WORKDIR "/workspace" +CMD [ "/usr/local/bin/meteor", "run" ] \ No newline at end of file -- cgit v1.2.3