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

add libzip-dev to Dockerfile #981

Merged
merged 1 commit into from Jan 27, 2019

Conversation

Projects
None yet
2 participants
@nori3tsu
Copy link
Contributor

nori3tsu commented Jan 27, 2019

Because libzip error occurred during $ npm run docker-init, I added libzip-dev installation process to Dockerfile. As a result, this problem was resolved and the container was successfully built.

$ npm run docker-init
~
configure: error: Please reinstall the libzip distribution
The command '/bin/sh -c apt-get update     && apt-get install -y                wget zip unzip         libfreetype6-dev         libjpeg62-turbo-dev         libpng-dev         sqlite3 libsqlite3-dev         libssl-dev     && pecl install mongodb     && pecl install redis     && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/     && docker-php-ext-install -j$(nproc) iconv gd pdo zip opcache pdo_sqlite     && a2enmod re
write expires' returned a non-zero code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cockpit-next@0.8.7 docker-init: `docker build -t cockpit/dev .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the cockpit-next@0.8.7 docker-init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/Nori/.npm/_logs/2019-01-27T00_51_11_410Z-debug.log

@nori3tsu nori3tsu changed the title add libzip-devel to Dockerfile add libzip-dev to Dockerfile Jan 27, 2019

@aheinze aheinze merged commit 817441a into agentejo:next Jan 27, 2019

@aheinze

This comment has been minimized.

Copy link
Member

aheinze commented Jan 27, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment