Open heyyoyo opened 3 years ago
What worked for me to add glibc inside drupal-php. Use my own Dockerfile in docke-compose.yml with
FROM wodby/drupal-php:7.4-dev
USER root
RUN apk add --update curl && \
GLIBC_VER="2.29-r0" && \
curl -sL https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub -o /etc/apk/keys/sgerrand.rsa.pub && \
curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-${GLIBC_VER}.apk && \
curl -sLO https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${GLIBC_VER}/glibc-bin-${GLIBC_VER}.apk && \
apk add --no-cache \
glibc-${GLIBC_VER}.apk \
glibc-bin-${GLIBC_VER}.apk
Which allows me to start using their install script.
It seems to add nicely their php library, I can see it loaded running php -m.
But php-fpm is crashing with Segmentation fault (core dumped)
Any idea how I can progress ?
In project we need the inclusion of AppDynamics, unfortunatly they don't provide any PHP support for alpine yet. Is there a way to add a flag to conditionnaly add glibc libraries inside the wodby alpine image ?
Like this image on docker hub ? https://github.com/Docker-Hub-frolvlad/docker-alpine-glibc/blob/master/Dockerfile
Regards.