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/release/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 build/release/Dockerfile (limited to 'build/release') 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