aboutsummaryrefslogtreecommitdiff
path: root/default/1.5/Dockerfile
blob: a4e61bd2a4858bb96a36ef1cf4b6c42ff22788f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 \
        ca-certificates \
        curl \
        git \
        openssl \
    && curl https://install.meteor.com | sed 's/^RELEASE=.*/RELEASE=${RELEASE}/g' | sh \
    && 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
CMD [ "/usr/local/bin/meteor", "run" ]