2018-08-14 20:37:07 +04:00
|
|
|
FROM ubuntu:rolling
|
2017-11-14 02:15:09 +04:00
|
|
|
LABEL maintainer="info@valentineus.link"
|
|
|
|
|
|
|
|
ENV METEOR_ALLOW_SUPERUSER="true"
|
2018-08-15 18:28:35 +04:00
|
|
|
|
2020-06-26 12:32:49 +04:00
|
|
|
ARG RELEASE
|
2017-11-14 02:15:09 +04:00
|
|
|
|
|
|
|
RUN set -ex \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get --no-install-recommends --no-install-suggests --yes install \
|
2018-08-15 18:28:35 +04:00
|
|
|
ca-certificates curl git openssl \
|
2020-06-26 12:32:49 +04:00
|
|
|
&& curl https://install.meteor.com | sed "s/^RELEASE=.*/RELEASE=${RELEASE}/g" | sh \
|
2017-11-14 02:15:09 +04:00
|
|
|
&& 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
|
2020-06-26 14:02:38 +04:00
|
|
|
|
2018-08-15 18:28:35 +04:00
|
|
|
WORKDIR "/workspace"
|
2020-06-26 14:02:38 +04:00
|
|
|
|
2017-11-14 02:15:09 +04:00
|
|
|
CMD [ "/usr/local/bin/meteor", "run" ]
|