Fix Dockerfile build: add dev headers to .build-deps
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 19s

- Added oniguruma-dev, libxml2-dev, libzip-dev to .build-deps
- These headers are required for compiling mbstring, xml, and zip extensions
- Headers are correctly removed after compilation via 'apk del .build-deps'
- Fixes: 'Package requirements (oniguruma) were not met' error
This commit is contained in:
Alexis Bruneteau 2025-10-17 23:29:39 +02:00
parent 49423bf682
commit 9b52ede032

View File

@ -35,7 +35,8 @@ WORKDIR /var/www
# Install build dependencies first (will be removed later)
RUN apk add --no-cache --virtual .build-deps \
gcc g++ make autoconf libtool linux-headers \
libpng-dev libjpeg-turbo-dev freetype-dev
libpng-dev libjpeg-turbo-dev freetype-dev \
oniguruma-dev libxml2-dev libzip-dev
# Install runtime dependencies
RUN apk add --no-cache \