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-init command fails with error checking for libzip... not found #958

Closed
Hughp135 opened this Issue Dec 17, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@Hughp135
Copy link

Hughp135 commented Dec 17, 2018

I'm getting this error from docker-init on windows 10 with node 10.11.0 and docker 2.0.0

checking for libzip... not found
configure: error: Please reinstall the libzip distribution

This was fixed by adding this line to the Dockerfile:
libzip-dev \

Workaround Dockerfile command:

RUN apt-get update \
    && apt-get install -y \
    wget zip unzip \
    libfreetype6-dev \
    libjpeg62-turbo-dev \
    libpng-dev \
    sqlite3 libsqlite3-dev \
    libssl-dev \
    libzip-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 rewrite expires
@aheinze

This comment has been minimized.

Copy link
Member

aheinze commented Jan 11, 2019

should be fixed now. thanks for reporting!

@aheinze aheinze closed this Jan 11, 2019

@Blistok

This comment has been minimized.

Copy link
Contributor

Blistok commented Jan 20, 2019

@aheinze This doesn't seem to be updated in either next or master.
Also, confirming that adding libzip-dev to Dockerfile solves the issue.

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