-
Notifications
You must be signed in to change notification settings - Fork 742
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Alpine Linux to 3.20 and Nginx to 1.26
- Loading branch information
Showing
2 changed files
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG ALPINE_VERSION=3.19 | ||
ARG ALPINE_VERSION=3.20 | ||
FROM alpine:${ALPINE_VERSION} | ||
LABEL Maintainer="Tim de Pater <[email protected]>" | ||
LABEL Description="Lightweight container with Nginx 1.24 & PHP 8.3 based on Alpine Linux." | ||
|
@@ -45,9 +45,6 @@ COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
# Make sure files/folders needed by the processes are accessable when they run under the nobody user | ||
RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx | ||
|
||
# Create symlink for php | ||
RUN ln -s /usr/bin/php83 /usr/bin/php | ||
|
||
# Switch to use a non-root user from here on | ||
USER nobody | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters