Browse Source

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
Alexandre Alapetite 3 years ago
parent
commit
be79c5a8e7
2 changed files with 3 additions and 4 deletions
  1. 2 3
      .devcontainer/Dockerfile
  2. 1 1
      Docker/Dockerfile-Alpine

+ 2 - 3
.devcontainer/Dockerfile

@@ -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

+ 1 - 1
Docker/Dockerfile-Alpine

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