Open johncadengo opened 3 years ago
---> Running in 6d00e1e00bb3 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz ERROR: unable to select packages: python (no such package): required by: .build-dependencies-20220927.190231[python] The command '/bin/sh -c apk add --virtual .build-dependencies --no-cache build-base coreutils nasm python make pkgconfig wget freetype-dev gnutls-dev lame-dev libass-dev libogg-dev libtheora-dev libvorbis-dev libvpx-dev libwebp-dev opus-dev rtmpdump-dev x264-dev x265-dev yasm-dev && wget -q "https://gitlab.com/Shinobi-Systems/Shinobi/-/archive/$SHINOBI_BRANCH/Shinobi-$SHINOBI_BRANCH.tar.bz2?sha=$SHINOBI_SHA" -O /tmp/shinobi.tar.bz2 && tar -xjpf /tmp/shinobi.tar.bz2 -C /tmp/shinobi && mv /tmp/shinobi/Shinobi-$SHINOBI_BRANCH /opt/shinobi && rm -f /tmp/shinobi.tar.bz2 && cd /opt/shinobi && npm i npm@latest -g && npm install pm2 -g && npm install && apk del --virtual .build-dependencies' returned a non-zero code: 2
Hi! Does anyone find a solution?
In Dockerfile, change python
where it is installing packages RUN apk add --virtual .build-dependencies
to python3
.
But it still won't build as it fails at npm installation. Image is using nodejs 12 but trying to install npm i npm@latest
, it will complain. So you have to install a specific npm version which works with node12. You might another roadblock with pm2 being too new too.
Here's the log when I tried running
docker-compose up -d