-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should be done by the upstream images, but currently they don't. And rather than getting into problems due to outdated packages, we take matters in our own hands.
- Loading branch information
Showing
5 changed files
with
25 additions
and
0 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 |
---|---|---|
|
@@ -2,6 +2,11 @@ FROM php:8.1-apache | |
LABEL maintainer="Thomas Bruederli <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemail-docker" | ||
|
||
# This should be done by the upstream images, but as long as they don't do it, | ||
# we rather use our own hands than suffer from outdated packages. | ||
# Kept as standalone command to make it stand out and be easy to remove. | ||
RUN apt-get update && apt-get upgrade && apt-get clean | ||
|
||
RUN set -ex; \ | ||
if [ "apache" = "apache" ]; then a2enmod rewrite; fi; \ | ||
apt-get update; \ | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,11 @@ FROM php:8.1-fpm-alpine | |
LABEL maintainer="Thomas Bruederli <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemail-docker" | ||
|
||
# This should be done by the upstream images, but as long as they don't do it, | ||
# we rather use our own hands than suffer from outdated packages. | ||
# Kept as standalone command to make it stand out and be easy to remove. | ||
RUN apk upgrade --no-cache | ||
|
||
RUN set -ex; \ | ||
if [ "fpm-alpine" = "apache" ]; then a2enmod rewrite; fi; \ | ||
\ | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,11 @@ FROM php:8.1-fpm | |
LABEL maintainer="Thomas Bruederli <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemail-docker" | ||
|
||
# This should be done by the upstream images, but as long as they don't do it, | ||
# we rather use our own hands than suffer from outdated packages. | ||
# Kept as standalone command to make it stand out and be easy to remove. | ||
RUN apt-get update && apt-get upgrade && apt-get clean | ||
|
||
RUN set -ex; \ | ||
if [ "fpm" = "apache" ]; then a2enmod rewrite; fi; \ | ||
apt-get update; \ | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,11 @@ FROM php:8.1-%%VARIANT%% | |
LABEL maintainer="Thomas Bruederli <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemail-docker" | ||
|
||
# This should be done by the upstream images, but as long as they don't do it, | ||
# we rather use our own hands than suffer from outdated packages. | ||
# Kept as standalone command to make it stand out and be easy to remove. | ||
RUN apk upgrade --no-cache | ||
|
||
RUN set -ex; \ | ||
if [ "%%VARIANT%%" = "apache" ]; then a2enmod rewrite; fi; \ | ||
\ | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,11 @@ FROM php:8.1-%%VARIANT%% | |
LABEL maintainer="Thomas Bruederli <[email protected]>" | ||
LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemail-docker" | ||
|
||
# This should be done by the upstream images, but as long as they don't do it, | ||
# we rather use our own hands than suffer from outdated packages. | ||
# Kept as standalone command to make it stand out and be easy to remove. | ||
RUN apt-get update && apt-get upgrade && apt-get clean | ||
|
||
RUN set -ex; \ | ||
if [ "%%VARIANT%%" = "apache" ]; then a2enmod rewrite; fi; \ | ||
apt-get update; \ | ||
|