diff options
author | Stephen Moloney <stephenmoloney@live.com> | 2017-02-01 20:07:07 +0000 |
---|---|---|
committer | Stephen Moloney <stephenmoloney@live.com> | 2017-02-01 20:07:07 +0000 |
commit | 22b5b9819de63558d17df6a5490e9c8f896f8020 (patch) | |
tree | 3e615789427da68d36d108b764c26ff074eb5e18 /Dockerfile | |
parent | 3f7919e0b31256401198499117590ded6a423491 (diff) | |
download | wekan-22b5b9819de63558d17df6a5490e9c8f896f8020.tar.gz wekan-22b5b9819de63558d17df6a5490e9c8f896f8020.tar.bz2 wekan-22b5b9819de63558d17df6a5490e9c8f896f8020.zip |
fix problem with arguments
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -1,13 +1,21 @@ FROM debian:wheezy MAINTAINER wefork +# Declare Arguments +ARG NODE_VERSION +ARG METEOR_RELEASE +ARG NPM_VERSION +ARG ARCHITECTURE +ARG SRC_PATH + +# Set the environment variables (defaults where required) ENV BUILD_DEPS="wget curl bzip2 build-essential python git ca-certificates" ENV GOSU_VERSION=1.10 -ARG NODE_VERSION=v0.10.48 -ARG METEOR_RELEASE=1.3.5.1 -ARG NPM_VERSION=3.10.10 -ARG ARCHITECTURE=linux-x64 -ARG SRC_PATH=./ +ENV NODE_VERSION ${NODE_VERSION:-v0.10.48} +ENV METEOR_RELEASE ${METEOR_RELEASE:-1.3.5.1} +ENV NPM_VERSION ${NPM_VERSION:-3.10.10} +ENV ARCHITECTURE ${ARCHITECTURE:-linux-x64} +ENV SRC_PATH ${SRC_PATH:-./} # Copy the app to the image COPY ${SRC_PATH} /home/wekan/app |