Build error Debian
On fresh Debian 10 installation there is a problem with building an application with docker. The following error occurs:
make docker_build
docker build --disable-content-trust=false \
--build-arg BUILD_DATE=2020-04-06T21:27:52Z \
--build-arg VERSION=0.0.2-alpha.0 \
--build-arg VCS_URL=https://gitlab.com/digiresilience/link/sigarillo.git \
--build-arg VCS_REF=2d6145a \
-t digiresilience/sigarillo:0.0.2-alpha.0-2d6145a .
Sending build context to Docker daemon 470.5kB
Step 1/44 : FROM node@sha256:7050e0dffc069c9f2e8dedcd255d7e57d87bebf33d6a5d97bd4905fb2333db8c as builder
---> 8fc2110c6978
Step 2/44 : LABEL maintainer="Abel Luck <abel@guardianproject.info>"
---> Using cache
---> e29a43150381
Step 3/44 : ARG SIGARILLO_DIR=/opt/sigarillo
---> Using cache
---> 944a04a74ad6
Step 4/44 : RUN mkdir -p ${SIGARILLO_DIR}/
---> Using cache
---> 923d329431ed
Step 5/44 : COPY package.json yarn.lock ${SIGARILLO_DIR}/
---> Using cache
---> 7666dd3b51b3
Step 6/44 : RUN chown -R node:node ${SIGARILLO_DIR}/
---> Using cache
---> 406886f1de0b
Step 7/44 : USER node
---> Using cache
---> a018834d38c1
Step 8/44 : WORKDIR ${SIGARILLO_DIR}
---> Using cache
---> b0bf60e3d8c7
Step 9/44 : RUN yarn --production
---> Running in 87320843ca82
yarn install v1.13.0
[1/4] Resolving packages...
[2/4] Fetching packages...
error koa2-sass@1.2.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.15.1"
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c yarn --production' returned a non-zero code: 1
make: *** [Makefile:54: docker_build] Error 1
Best regards, MS