1
0
mirror of https://github.com/hoellen/docker-nextcloud.git synced 2025-05-10 06:19:33 +00:00

versioning strategy for PHP/nginx

This way security fixes can be applied automatically when the image is rebuilt, and there's less maintenance to do. If you're building yourself, make sure to build without cache if you attempt to apply fixes.
This commit is contained in:
Wonderfall 2021-06-07 00:31:57 +02:00 committed by GitHub
parent 7cab792c26
commit 7bf8e7c66b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,11 +1,9 @@
# -------------- Build-time variables --------------
ARG NEXTCLOUD_VERSION=21.0.2
ARG PHP_VERSION=8.0
ARG NGINX_VERSION=1.20
ARG ALPINE_VERSION=3.13
ARG PHP_VERSION=8.0.7
ARG NGINX_VERSION=1.20.1
ARG APCU_VERSION=5.1.20
ARG REDIS_VERSION=5.3.4
ARG HARDENED_MALLOC_VERSION=8
ARG UID=1000
@ -56,8 +54,8 @@ RUN apk -U upgrade \
pdo_pgsql \
zip \
gmp \
&& pecl install APCu-${APCU_VERSION} \
&& pecl install redis-${REDIS_VERSION} \
&& pecl install APCu \
&& pecl install redis \
&& echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini \
&& apk del build-deps \
&& rm -rf /var/cache/apk/*