add bash and curl to test docker

This commit is contained in:
Simon Larsen
2023-09-29 13:59:08 +01:00
parent 8863c6a209
commit 53efbaf7a0

View File

@@ -2,6 +2,9 @@ FROM node:18.13.0-alpine
USER root
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
# Install bash.
RUN apk add bash && apk add curl
RUN npm config set fetch-retry-maxtimeout 6000000
RUN npm config set fetch-retry-mintimeout 1000000