Comments (3)
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.
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.
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)
- error create user API1 HOT 4
- VAPI3 HOT 8
- helm chart HOT 3
- Updating php/apache base image HOT 3
- Can't automatic install HOT 1
- Postman tests use deprecated syntax
- api1 authHeader HOT 4
- Error 403 when trying to access the mainpage HOT 7
- Compatibility with Docker Playground ? HOT 5
- Api pentesting HOT 1
- I can not run vapi on kali linux HOT 5
- missing secret object tamplate HOT 2
- mysql env on the laravel pod are not set HOT 1
- Authorization-Tokens are not well documented. HOT 3
- Temporary failure resolving 'deb.debian.org' HOT 7
- API1 test script not running properly HOT 1
- Create Test Scripts for vapi
- Writeup HOT 3
- /docker-entrypoint-initdb.d/my_init_script.sh (helm install) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vapi.