aboutsummaryrefslogtreecommitdiff
path: root/build/1.5/Dockerfile
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-11-14 01:15:09 +0300
committerValentin Popov <info@valentineus.link>2017-11-14 01:15:09 +0300
commit7f34aa302f10ed529e05ad662281ed34607e6f54 (patch)
treeb47a398ccbc809ce187cb46deabe29d098bef009 /build/1.5/Dockerfile
downloaddocker-meteor-7f34aa302f10ed529e05ad662281ed34607e6f54.tar.xz
docker-meteor-7f34aa302f10ed529e05ad662281ed34607e6f54.zip
Initial commit
Diffstat (limited to 'build/1.5/Dockerfile')
-rw-r--r--build/1.5/Dockerfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/build/1.5/Dockerfile b/build/1.5/Dockerfile
new file mode 100644
index 0000000..cb7fcf5
--- /dev/null
+++ b/build/1.5/Dockerfile
@@ -0,0 +1,26 @@
+FROM debian:stable-slim
+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