Fixed build args

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-06-26 12:32:49 +04:00
parent 5a8a18b70e
commit e720f2499d
2 changed files with 4 additions and 7 deletions

View File

@ -3,13 +3,13 @@ LABEL maintainer="info@valentineus.link"
ENV METEOR_ALLOW_SUPERUSER="true"
ARG release
ARG RELEASE
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 \
&& 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 \