I try to install php-xdebug in docker, but I got this error
#5 7.875 ERROR: unsatisfiable constraints:
#5 7.875 php5-xdebug-2.5.5-r0:
#5 7.875 masked in: cache
#5 7.875 satisfies:
#5 7.875 world[php5-xdebug><Q1Qep6HHzf56Q7ucrPzV1CAFSr+G8=]
#5 7.875 so:libc.musl-x86_64.so.1 (missing):
#5 7.875 required by:
#5 7.875 php5-xdebug-2.5.5-r0[so:libc.musl-x86_64.so.1]
I used alpine:3.7 will Apple M1. How can I solve this problem?
Beginning of Docker file:
FROM alpine:3.7
# dependencies required for running "phpize"
ENV PHPIZE_DEPS \
autoconf \
g++ \
make \
zlib-dev
...
wget -O /root/src/php5-xdebug-2.5.5-r0.apk https://github.com/sgerrand/alpine-pkg-php5-xdebug/releases/download/2.5.5-r0/php5-xdebug-2.5.5-r0.apk && \
apk add --no-cache /root/src/php5-xdebug-2.5.5-r0.apk && \
rm /root/src/php5-xdebug-2.5.5-r0.apk && \