diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/1.5/Dockerfile | 26 | ||||
-rw-r--r-- | build/1.6/Dockerfile | 26 | ||||
-rw-r--r-- | build/1.7/Dockerfile | 26 | ||||
-rw-r--r-- | build/latest/Dockerfile | 8 | ||||
-rw-r--r-- | build/release/Dockerfile (renamed from build/1.4/Dockerfile) | 13 |
5 files changed, 7 insertions, 92 deletions
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/1.4/Dockerfile b/build/release/Dockerfile index bf01f2f..67221d6 100644 --- a/build/1.4/Dockerfile +++ b/build/release/Dockerfile @@ -2,18 +2,14 @@ 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 \ - build-essential \ - ca-certificates \ - curl \ - git \ - openssl \ - && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \ + 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 {} \; \ @@ -23,4 +19,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 |