Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker compose up fails #12

Open
hemna opened this issue Feb 12, 2024 · 1 comment
Open

docker compose up fails #12

hemna opened this issue Feb 12, 2024 · 1 comment

Comments

@hemna
Copy link

hemna commented Feb 12, 2024

╭─waboring in 🌐 dl360-1 in shinobi-docker on  master took 22s ❯
└─> docker compose up
[+] Building 0.8s (11/14)                                                                                                           docker-container:mybuilder
 => [shinobi internal] load build definition from Dockerfile                                                                                              0.0s
 => => transferring dockerfile: 2.50kB                                                                                                                    0.0s
 => [shinobi internal] load metadata for docker.io/library/node:12-alpine                                                                                 0.1s
 => [shinobi internal] load .dockerignore                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                           0.0s
 => [shinobi  1/10] FROM docker.io/library/node:12-alpine@sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68                         0.0s
 => => resolve docker.io/library/node:12-alpine@sha256:d4b15b3d48f42059a15bd659be60afe21762aae9d6cbea6f124440895c27db68                                   0.0s
 => [shinobi internal] load build context                                                                                                                 0.0s
 => => transferring context: 148B                                                                                                                         0.0s
 => CACHED [shinobi  2/10] RUN apk --update update && apk upgrade --no-cache                                                                              0.0s
 => CACHED [shinobi  3/10] RUN apk add --update --no-cache ffmpeg gnutls x264 libssh2 tar xz bzip2 mariadb-client ttf-freefont ca-certificates wget       0.0s
 => CACHED [shinobi  4/10] RUN update-ca-certificates                                                                                                     0.0s
 => CACHED [shinobi  5/10] RUN wget -q https://cdn.shinobi.video/installers/ffmpeg-release-64bit-static.tar.xz  && tar xpf ./ffmpeg-release-64bit-static  0.0s
 => CACHED [shinobi  6/10] RUN mkdir -p /config /tmp/shinobi                                                                                              0.0s
 => ERROR [shinobi  7/10] RUN apk add --virtual .build-dependencies --no-cache   build-base   coreutils   nasm   python   make   pkgconfig   wget   free  0.6s
------
 > [shinobi  7/10] RUN 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/master/Shinobi-master.tar.bz2?sha=010abad7da5e594da0e3fb697c86a753011aa53b" -O /tmp/shinobi.tar.bz2  && tar -xjpf /tmp/shinobi.tar.bz2 -C /tmp/shinobi  && mv /tmp/shinobi/Shinobi-master /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:
0.056 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
0.210 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
0.563 ERROR: unable to select packages:
0.610   python (no such package):
0.610     required by: .build-dependencies-20240212.144431[python]
------
failed to solve: process "/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" did not complete successfully: exit code: 2
@tommy-hartmann
Copy link

change python to python3 in the Dockerfile fixes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants