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 --- build/1.4/Dockerfile | 26 -------------------------- build/1.5/Dockerfile | 26 -------------------------- build/1.6/Dockerfile | 26 -------------------------- build/1.7/Dockerfile | 26 -------------------------- build/latest/Dockerfile | 8 ++------ build/release/Dockerfile | 23 +++++++++++++++++++++++ 6 files changed, 25 insertions(+), 110 deletions(-) delete mode 100644 build/1.4/Dockerfile delete mode 100644 build/1.5/Dockerfile delete mode 100644 build/1.6/Dockerfile delete mode 100644 build/1.7/Dockerfile create mode 100644 build/release/Dockerfile (limited to 'build') diff --git a/build/1.4/Dockerfile b/build/1.4/Dockerfile deleted file mode 100644 index bf01f2f..0000000 --- a/build/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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ - && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ - && 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/build/1.5/Dockerfile b/build/1.5/Dockerfile deleted file mode 100644 index c699f2b..0000000 --- a/build/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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ - && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ - && 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/build/1.6/Dockerfile b/build/1.6/Dockerfile deleted file mode 100644 index 7a7fd8f..0000000 --- a/build/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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ - && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ - && 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/build/1.7/Dockerfile b/build/1.7/Dockerfile deleted file mode 100644 index f0e4681..0000000 --- a/build/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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ - && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ - && 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/build/latest/Dockerfile b/build/latest/Dockerfile index 20529d1..733fc6b 100644 --- a/build/latest/Dockerfile +++ b/build/latest/Dockerfile @@ -2,16 +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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ + build-essential ca-certificates curl git openssl \ && curl https://install.meteor.com | sh \ && apt-get --purge --yes autoremove \ && apt-get clean \ @@ -22,4 +17,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/build/release/Dockerfile b/build/release/Dockerfile new file mode 100644 index 0000000..67221d6 --- /dev/null +++ b/build/release/Dockerfile @@ -0,0 +1,23 @@ +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 \ + build-essential ca-certificates curl git openssl \ + && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${release}/g' | sh \ + && 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