mirror of
https://github.com/amark/gun.git
synced 2025-06-07 14:46:44 +00:00
Add git to Dockerfile apks (#1061)
Git needs to be added to the docker image or the build fails at the npm install stage. _Looks at iris_ ... npm ERR! path git npm ERR! errno -2 npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/irislib/iris-messenger.git ...
This commit is contained in:
parent
429b011955
commit
5ca97d88a3
@ -18,7 +18,7 @@ ADD . .
|
|||||||
ENV NPM_CONFIG_LOGLEVEL warn
|
ENV NPM_CONFIG_LOGLEVEL warn
|
||||||
RUN apk update && apk upgrade \
|
RUN apk update && apk upgrade \
|
||||||
&& apk add --no-cache ca-certificates nodejs-npm \
|
&& apk add --no-cache ca-certificates nodejs-npm \
|
||||||
&& apk add --no-cache --virtual .build-dependencies python2 make g++ \
|
&& apk add --no-cache --virtual .build-dependencies python2 make g++ git \
|
||||||
&& npm install --production=false \
|
&& npm install --production=false \
|
||||||
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
&& apk del .build-dependencies && rm -rf /var/cache/* /tmp/npm*
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
Loading…
x
Reference in New Issue
Block a user