use build arg for wiki version & for container tag
There is a new version of wiki available. Want to tag this version and enable building and tagging the next version.
This commit is contained in:
parent
7f64713024
commit
bc8204c9d3
|
@ -5,7 +5,8 @@ RUN useradd --create-home app \
|
|||
&& apt-get install -y --no-install-recommends \
|
||||
jq
|
||||
WORKDIR /home/app
|
||||
RUN su app -c "npm install -g --prefix . wiki@0.11.4"
|
||||
ARG VERSION=0.11.4
|
||||
RUN su app -c "npm install -g --prefix . wiki@$VERSION"
|
||||
RUN su app -c "mkdir .wiki"
|
||||
COPY configure-and-launch-wiki set-owner-name ./
|
||||
RUN chown app configure-and-launch-wiki set-owner-name
|
||||
|
|
Loading…
Reference in New Issue