Compare commits

...

1 Commits

Author SHA1 Message Date
Alexis Bruneteau
9b52ede032 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
2025-10-17 23:29:39 +02:00

View File

@ -35,7 +35,8 @@ WORKDIR /var/www
# Install build dependencies first (will be removed later) # Install build dependencies first (will be removed later)
RUN apk add --no-cache --virtual .build-deps \ RUN apk add --no-cache --virtual .build-deps \
gcc g++ make autoconf libtool linux-headers \ 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 # Install runtime dependencies
RUN apk add --no-cache \ RUN apk add --no-cache \