Mosasauroidea / GazellePW

Movie-based Gazelle
MIT License
243 stars 58 forks source link

Error when running docker-compose -p gazelle up #56

Closed 0450 closed 5 months ago

0450 commented 1 year ago

Docker and Docker-Compose installed through Docker Desktop. Tried restarting and reinstalling Docker Desktop.

~\GazellePW> docker-compose -p gazelle up
[+] Running 36/21
 ✔ mysql 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                              19.0s
 ✔ memcached 6 layers [⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                             18.2s
 ✔ phpmyadmin 18 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                               14.1s
[+] Building 288.6s (10/16)
 => [web internal] load .dockerignore                                                                              0.1s
 => => transferring context: 2B                                                                                    0.0s
 => [web internal] load build definition from Dockerfile                                                           0.0s
 => => transferring dockerfile: 3.51kB                                                                             0.0s
 => [web internal] load metadata for docker.io/library/ubuntu:18.04                                                3.1s
 => [web  1/12] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b  2.1s
 => => resolve docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e4  0.0s
 => => sha256:dca176c9663a7ba4c1f0e710986f5a25e672842963d95b960191e2d9f7185ebe 424B / 424B                         0.0s
 => => sha256:f9a80a55f492e823bf5d51f1bd5f87ea3eed1cb31788686aa99a2fb61a27af6a 2.30kB / 2.30kB                     0.0s
 => => sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 25.69MB / 25.69MB                   1.3s
 => => sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98 1.33kB / 1.33kB                     0.0s
 => => extracting sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331                          0.7s
 => [web internal] load build context                                                                              0.5s
 => => transferring context: 86.05MB                                                                               0.5s
 => [web  2/12] WORKDIR /var/www                                                                                   0.1s
 => [web  3/12] RUN apt-get update                                                                                15.7s
 => [web  4/12] RUN apt install -y software-properties-common                                                     75.5s
 => [web  5/12] RUN add-apt-repository ppa:ondrej/php                                                              4.4s
 => ERROR [web  6/12] RUN  DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends    1.4s
0450 commented 1 year ago
> docker --version
Docker version 24.0.2, build cb74dfc

> docker-compose --version
Docker Compose version v2.19.0

> docker-compose -p gazelle up
[+] Building 132.0s (10/16)
 => [web internal] load build definition from Dockerfile                                                           0.0s
 => => transferring dockerfile: 3.51kB                                                                             0.0s
 => [web internal] load .dockerignore                                                                              0.0s
 => => transferring context: 2B                                                                                    0.0s
 => [web internal] load metadata for docker.io/library/ubuntu:18.04                                                2.2s
 => [web  1/12] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b  2.0s
 => => resolve docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e4  0.0s
 => => sha256:f9a80a55f492e823bf5d51f1bd5f87ea3eed1cb31788686aa99a2fb61a27af6a 2.30kB / 2.30kB                     0.0s
 => => sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331 25.69MB / 25.69MB                   1.2s
 => => sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98 1.33kB / 1.33kB                     0.0s
 => => sha256:dca176c9663a7ba4c1f0e710986f5a25e672842963d95b960191e2d9f7185ebe 424B / 424B                         0.0s
 => => extracting sha256:7c457f213c7634afb95a0fb2410a74b7b5bc0ba527033362c240c7a11bef4331                          0.7s
 => [web internal] load build context                                                                              0.5s
 => => transferring context: 86.25MB                                                                               0.4s
 => [web  2/12] WORKDIR /var/www                                                                                   0.1s
 => [web  3/12] RUN apt-get update                                                                                20.5s
 => [web  4/12] RUN apt install -y software-properties-common                                                    100.0s
 => [web  5/12] RUN add-apt-repository ppa:ondrej/php                                                              5.7s
 => ERROR [web  6/12] RUN  DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends    1.4s
------
 > [web  6/12] RUN  DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends     build-essential     ca-certificates     cron     curl     git     gnupg     imagemagick     libboost-dev     libbz2-dev     libssl-dev     libsqlite3-dev     libtcmalloc-minimal4     make     mariadb-client     netcat-openbsd     nginx     php7.4-cli     php7.4-curl     php7.4-fpm     php7.4-gd     php7.4-mbstring     php7.4-mysql     php7.4-xml     php7.4-zip     php7.4-yaml     php7.4-apcu     php7.4-bcmath     php7.4-memcached     php7.4-xdebug     python3     python3-pip     python3-setuptools     python3-wheel     python3-dev     unzip     wget     zlib1g-dev     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list     && curl -sL https://deb.nodesource.com/setup_12.x | bash -     && apt-get install -y --no-install-recommends     nodejs     yarn:
0.405 Reading package lists...
0.996 Building dependency tree...
1.099 Reading state information...
1.351 E: Unable to locate package php7.4-cli
1.351 E: Couldn't find any package by glob 'php7.4-cli'
1.351 E: Couldn't find any package by regex 'php7.4-cli'
1.351 E: Unable to locate package php7.4-curl
1.351 E: Couldn't find any package by glob 'php7.4-curl'
1.351 E: Couldn't find any package by regex 'php7.4-curl'
1.351 E: Unable to locate package php7.4-fpm
1.351 E: Couldn't find any package by glob 'php7.4-fpm'
1.351 E: Couldn't find any package by regex 'php7.4-fpm'
1.351 E: Unable to locate package php7.4-gd
1.351 E: Couldn't find any package by glob 'php7.4-gd'
1.351 E: Couldn't find any package by regex 'php7.4-gd'
1.351 E: Unable to locate package php7.4-mbstring
1.351 E: Couldn't find any package by glob 'php7.4-mbstring'
1.351 E: Couldn't find any package by regex 'php7.4-mbstring'
1.351 E: Unable to locate package php7.4-mysql
1.351 E: Couldn't find any package by glob 'php7.4-mysql'
1.351 E: Couldn't find any package by regex 'php7.4-mysql'
1.351 E: Unable to locate package php7.4-xml
1.351 E: Couldn't find any package by glob 'php7.4-xml'
1.351 E: Couldn't find any package by regex 'php7.4-xml'
1.351 E: Unable to locate package php7.4-zip
1.351 E: Couldn't find any package by glob 'php7.4-zip'
1.351 E: Couldn't find any package by regex 'php7.4-zip'
1.351 E: Unable to locate package php7.4-yaml
1.351 E: Couldn't find any package by glob 'php7.4-yaml'
1.351 E: Couldn't find any package by regex 'php7.4-yaml'
1.351 E: Unable to locate package php7.4-apcu
1.351 E: Couldn't find any package by glob 'php7.4-apcu'
1.351 E: Couldn't find any package by regex 'php7.4-apcu'
1.351 E: Unable to locate package php7.4-bcmath
1.351 E: Couldn't find any package by glob 'php7.4-bcmath'
1.351 E: Couldn't find any package by regex 'php7.4-bcmath'
1.351 E: Unable to locate package php7.4-memcached
1.351 E: Couldn't find any package by glob 'php7.4-memcached'
1.351 E: Couldn't find any package by regex 'php7.4-memcached'
1.351 E: Unable to locate package php7.4-xdebug
1.351 E: Couldn't find any package by glob 'php7.4-xdebug'
1.351 E: Couldn't find any package by regex 'php7.4-xdebug'
------
failed to solve: process "/bin/sh -c DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --no-install-recommends     build-essential     ca-certificates     cron     curl     git     gnupg     imagemagick     libboost-dev     libbz2-dev     libssl-dev     libsqlite3-dev     libtcmalloc-minimal4     make     mariadb-client     netcat-openbsd     nginx     php7.4-cli     php7.4-curl     php7.4-fpm     php7.4-gd     php7.4-mbstring     php7.4-mysql     php7.4-xml     php7.4-zip     php7.4-yaml     php7.4-apcu     php7.4-bcmath     php7.4-memcached     php7.4-xdebug     python3     python3-pip     python3-setuptools     python3-wheel     python3-dev     unzip     wget     zlib1g-dev     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | tee /etc/apt/sources.list.d/yarn.list     && curl -sL https://deb.nodesource.com/setup_12.x | bash -     && apt-get install -y --no-install-recommends     nodejs     yarn" did not complete successfully: exit code: 100
120318 commented 1 year ago

Because of this: https://launchpad.net/~ondrej/+archive/ubuntu/php

0450 commented 1 year ago

Thanks for the reply but doesn't the Dockerfile already include

RUN apt-get update
RUN apt install -y software-properties-common
RUN add-apt-repository ppa:ondrej/php

before trying to install those php packages?

Adding RUN apt update did not fix the issue.

Dryrtan commented 1 year ago

I am also having problems related to the lack of the php7.4 package in ppa:ondrej/php in some personal projects, I would like to make a pull request of the updated project for php8.2, but I lack a little knowledge to do this ;(