Giter Club home page Giter Club logo

Comments (3)

muhamad-ridwant-tech avatar muhamad-ridwant-tech commented on July 30, 2024 2

Are u still facing the problem ?
Try this one

RUN apt-get update && apt-get install -y zip libzip-dev
RUN docker-php-ext-configure zip
RUN docker-php-ext-install zip

Hope it's help you !

The command '/bin/sh -c apt-get update && apt-get install -y libzip-dev && apt-get install -y zlib1g-dev && rm -rf /var/lib/apt/lists/* && docker-php-ext-install zip' returned a non-zero code: 100 ERROR: Service 'www' failed to build : Build failed

from vapi.

rgvillanueva28 avatar rgvillanueva28 commented on July 30, 2024

Experiencing the same.

Here's the output for reference:

$ sudo docker-compose up -d 
WARNING: The APP_NAME variable is not set. Defaulting to a blank string.
WARNING: The PUSHER_APP_KEY variable is not set. Defaulting to a blank string.
WARNING: The PUSHER_APP_CLUSTER variable is not set. Defaulting to a blank string.
Building www
Sending build context to Docker daemon  74.49MB
Step 1/9 : FROM php:7.4-apache
 ---> 20a3732f422b
Step 2/9 : RUN docker-php-ext-install mysqli pdo_mysql
 ---> Using cache
 ---> d78e61c10eb5
Step 3/9 : RUN apt-get update     && apt-get install -y libzip-dev     && apt-get install -y zlib1g-dev     && rm -rf /var/lib/apt/lists/*     && docker-php-ext-install zip
 ---> Running in 17e76026bb4d
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
Ign:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [17.5 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [246 kB]
Fetched 8655 kB in 27s (326 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libzip4 zlib1g-dev
The following NEW packages will be installed:
  libzip-dev libzip4 zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 38 not upgraded.
Need to get 409 kB of archives.
After this operation, 1071 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libzip4 amd64 1.7.3-1 [55.4 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB]
Err:3 http://deb.debian.org/debian bullseye/main amd64 libzip-dev amd64 1.7.3-1
  403  authenticationrequired [IP: 199.232.46.132 80]
Fetched 247 kB in 3s (89.3 kB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/libz/libzip/libzip-dev_1.7.3-1_amd64.deb  403  authenticationrequired [IP: 199.232.46.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?                                                                                     
The command '/bin/sh -c apt-get update     && apt-get install -y libzip-dev     && apt-get install -y zlib1g-dev     && rm -rf /var/lib/apt/lists/*     && docker-php-ext-install zip' returned a non-zero code: 100
ERROR: Service 'www' failed to build : Build failed

from vapi.

AirSupplyaLL avatar AirSupplyaLL commented on July 30, 2024

I am also facing this issue now.
May I ask do you mean to modify the Dockerfile in this project

$ sudo docker-compose up -d 
WARNING: The APP_NAME variable is not set. Defaulting to a blank string.
WARNING: The PUSHER_APP_KEY variable is not set. Defaulting to a blank string.
WARNING: The PUSHER_APP_CLUSTER variable is not set. Defaulting to a blank string.
Building www
Sending build context to Docker daemon  74.49MB
Step 1/9 : FROM php:7.4-apache
 ---> 20a3732f422b
Step 2/9 : RUN docker-php-ext-install mysqli pdo_mysql
 ---> Using cache
 ---> d78e61c10eb5
Step 3/9 : RUN apt-get update     && apt-get install -y libzip-dev     && apt-get install -y zlib1g-dev     && rm -rf /var/lib/apt/lists/*     && docker-php-ext-install zip
 ---> Running in 17e76026bb4d
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
Ign:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [17.5 kB]
Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [246 kB]
Fetched 8655 kB in 27s (326 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libzip4 zlib1g-dev
The following NEW packages will be installed:
  libzip-dev libzip4 zlib1g-dev
0 upgraded, 3 newly installed, 0 to remove and 38 not upgraded.
Need to get 409 kB of archives.
After this operation, 1071 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libzip4 amd64 1.7.3-1 [55.4 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2+deb11u2 [191 kB]
Err:3 http://deb.debian.org/debian bullseye/main amd64 libzip-dev amd64 1.7.3-1
  403  authenticationrequired [IP: 199.232.46.132 80]
Fetched 247 kB in 3s (89.3 kB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/libz/libzip/libzip-dev_1.7.3-1_amd64.deb  403  authenticationrequired [IP: 199.232.46.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?                                                                                     
The command '/bin/sh -c apt-get update     && apt-get install -y libzip-dev     && apt-get install -y zlib1g-dev     && rm -rf /var/lib/apt/lists/*     && docker-php-ext-install zip' returned a non-zero code: 100
ERROR: Service 'www' failed to build : Build failed

Are u still facing the problem ? Try this one

RUN apt-get update && apt-get install -y zip libzip-dev
RUN docker-php-ext-configure zip
RUN docker-php-ext-install zip

Hope it's help you !

The command '/bin/sh -c apt-get update && apt-get install -y libzip-dev && apt-get install -y zlib1g-dev && rm -rf /var/lib/apt/lists/* && docker-php-ext-install zip' returned a non-zero code: 100 ERROR: Service 'www' failed to build : Build failed

from vapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.