File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ ENV NODE_VERSION=10.15.1
12
12
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
13
13
14
14
LABEL maintainer=
"Joseph Sinfield <[email protected] >"
15
- LABEL runcommand="docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY -e SSH_AUTH_SOCK=\$ SSH_AUTH_SOCK -v $(dirname \$ SSH_AUTH_SOCK):$(dirname \$ SSH_AUTH_SOCK) -v $(pwd):/home/developer/workspace -w /home/developer/workspace jslog/development-env"
16
15
17
16
# Set debconf to run non-interactively
18
17
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
@@ -63,7 +62,7 @@ RUN add-apt-repository ppa:jonathonf/vim -y \
63
62
# will be performed
64
63
RUN groupadd --gid 1000 developer
65
64
RUN useradd --create-home --shell /bin/bash --uid 1000 --gid 1000 developer
66
- RUN usermod --append --groups sudo developer && echo "developer:developer " | chpasswd
65
+ RUN usermod --append --groups sudo developer && echo "developer:sudo " | chpasswd
67
66
USER developer
68
67
69
68
# Install users vim customisations. This requires that the .vimrc
@@ -118,4 +117,7 @@ COPY --chown=developer:developer templates/webpack-es6/ /home/developer/template
118
117
COPY --chown=developer:developer dotfiles/.gitignore /home/developer/templates/webpack-es6/.
119
118
COPY --chown=developer:developer dotfiles/.eslintrc.json /home/developer/templates/webpack-es6/.
120
119
121
- LABEL version="2.2.1"
120
+
121
+ ARG SEMVER="2.2.1"
122
+ LABEL runcommand="docker run --rm -ti -v /var/run/docker.sock:/var/run/docker.sock -p 3000:3000 -e http_proxy -e https_proxy -e HTTP_PROXY -e HTTPS_PROXY -e SSH_AUTH_SOCK=\$ SSH_AUTH_SOCK -v $(dirname \$ SSH_AUTH_SOCK):$(dirname \$ SSH_AUTH_SOCK) -v $(pwd):/home/developer/workspace -w /home/developer/workspace jslog/development-env:$SEMVER"
123
+ LABEL version=$SEMVER
You can’t perform that action at this time.
0 commit comments