test: update the test execution env (#1235)
This commit is contained in:
parent
9c5916f06d
commit
6e59b075e0
|
@ -8,7 +8,7 @@ if [[ "$(docker images -q $IMAGE 2> /dev/null)" == "" || $ARG1 == "build" ]]; th
|
||||||
echo "Building Docker image $IMAGE ..."
|
echo "Building Docker image $IMAGE ..."
|
||||||
|
|
||||||
cat > Dockerfile << EOF
|
cat > Dockerfile << EOF
|
||||||
FROM node:12-alpine
|
FROM node:16-alpine
|
||||||
RUN apk --no-cache add git git-daemon
|
RUN apk --no-cache add git git-daemon
|
||||||
RUN npm install jest jest-environment-jsdom --global
|
RUN npm install jest jest-environment-jsdom --global
|
||||||
WORKDIR /cpr
|
WORKDIR /cpr
|
||||||
|
|
Loading…
Reference in a new issue