Skip to content
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 build . -t ghcr.io/jorijn/bitcoin-dca:latest fails #221

Open
bassim opened this issue Jan 5, 2023 · 2 comments
Open

docker build . -t ghcr.io/jorijn/bitcoin-dca:latest fails #221

bassim opened this issue Jan 5, 2023 · 2 comments

Comments

@bassim
Copy link
Contributor

bassim commented Jan 5, 2023

@jorijn I ran into this error:

configure: error: rtnetlink.h is required, install the linux-headers package: apk add --update linux-headers
ERROR: `/tmp/pear/temp/xdebug/configure --with-php-config=/usr/local/bin/php-config' failed
The command '/bin/sh -c apk --no-cache update     && apk --no-cache add autoconf g++ make     && pecl install pcov xdebug     && docker-php-ext-enable pcov xdebug' returned a non-zero code: 1

I managed to get it to build again by specifying the xdebug pecl version:

# php code coverage & development
RUN apk --no-cache update \
    && apk --no-cache add autoconf g++ make \
    && pecl install pcov xdebug-3.1.5 \
    && docker-php-ext-enable pcov xdebug

I am not certain whether this the correct fix or the correct version (3.1.5) though.

@jorijn
Copy link
Owner

jorijn commented Apr 7, 2023

Hey @bassim

On what architecture are you trying to build?

@mvanduijker
Copy link
Contributor

Should be fixed with #244
Could you try again @bassim ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants