Docker Alpine 3.17 (#4886)

* Docker Alpine 3.17
Update alternative Docker image to Alpine 3.17 with PHP 8.1.12 (and still Apache 2.4.54)
https://alpinelinux.org/posts/Alpine-3.17.0-released.html

* Fix developer access rights
Put developer in www-data group
This commit is contained in:
Alexandre Alapetite 2022-11-23 22:40:41 +01:00 committed by GitHub
parent ef5483490c
commit be79c5a8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.17
ENV TZ UTC
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
@ -18,8 +18,7 @@ RUN rm -f /etc/apache2/conf.d/languages.conf /etc/apache2/conf.d/info.conf \
sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" \
/etc/apache2/httpd.conf
RUN addgroup developer && \
adduser --ingroup developer --disabled-password developer && \
RUN adduser --ingroup www-data --disabled-password developer && \
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer
ENV COPY_LOG_TO_SYSLOG On

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.17
ENV TZ UTC
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]