Skip to content

Commit

Permalink
remove legacy env
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-ritti authored Aug 27, 2024
1 parent f0c8011 commit a651ce1
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions php/Dockerfile.apache
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ FROM adeliom/php:${PHP_VERSION}-fpm
# https://git.alpinelinux.org/cgit/aports/tree/main/lighttpd/lighttpd.pre-install?h=v3.14.0
# https://git.alpinelinux.org/cgit/aports/tree/main/nginx/nginx.pre-install?h=v3.14.0

ENV HTTPD_PREFIX /usr/local/apache2
ENV PATH $HTTPD_PREFIX/bin:$PATH
ENV HTTPD_PREFIX="/usr/local/apache2"
ENV PATH="$HTTPD_PREFIX/bin:$PATH"
RUN mkdir -p "$HTTPD_PREFIX" \
&& chown www-data:www-data "$HTTPD_PREFIX"
WORKDIR $HTTPD_PREFIX
Expand All @@ -28,8 +28,8 @@ RUN set -eux; \
perl \
;

ENV HTTPD_VERSION 2.4.58
ENV HTTPD_SHA256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5
ENV HTTPD_VERSION="2.4.62"
ENV HTTPD_SHA256="674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec"

# https://httpd.apache.org/security/vulnerabilities_24.html
ENV HTTPD_PATCHES=""
Expand Down
8 changes: 4 additions & 4 deletions php/Dockerfile.apache-wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ FROM adeliom/php:${PHP_VERSION}-fpm-wkhtmltopdf
# https://git.alpinelinux.org/cgit/aports/tree/main/lighttpd/lighttpd.pre-install?h=v3.14.0
# https://git.alpinelinux.org/cgit/aports/tree/main/nginx/nginx.pre-install?h=v3.14.0

ENV HTTPD_PREFIX /usr/local/apache2
ENV PATH $HTTPD_PREFIX/bin:$PATH
ENV HTTPD_PREFIX="/usr/local/apache2"
ENV PATH="$HTTPD_PREFIX/bin:$PATH"
RUN mkdir -p "$HTTPD_PREFIX" \
&& chown www-data:www-data "$HTTPD_PREFIX"
WORKDIR $HTTPD_PREFIX
Expand All @@ -28,8 +28,8 @@ RUN set -eux; \
perl \
;

ENV HTTPD_VERSION 2.4.58
ENV HTTPD_SHA256 fa16d72a078210a54c47dd5bef2f8b9b8a01d94909a51453956b3ec6442ea4c5
ENV HTTPD_VERSION="2.4.62"
ENV HTTPD_SHA256="674188e7bf44ced82da8db522da946849e22080d73d16c93f7f4df89e25729ec"

# https://httpd.apache.org/security/vulnerabilities_24.html
ENV HTTPD_PATCHES=""
Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.caddy
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apk --update add --no-cache supervisor \
mailcap \
&& rm -rf /tmp/* /var/cache/apk/*

ENV XDG_CONFIG_HOME /config
ENV XDG_DATA_HOME /data
ENV XDG_CONFIG_HOME="/config"
ENV XDG_DATA_HOME="/data"

ENV DOCUMENT_ROOT="/var/www/html/"

Expand Down
4 changes: 2 additions & 2 deletions php/Dockerfile.caddy-wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apk --update add --no-cache supervisor \
mailcap \
&& rm -rf /tmp/* /var/cache/apk/*

ENV XDG_CONFIG_HOME /config
ENV XDG_DATA_HOME /data
ENV XDG_CONFIG_HOME="/config"
ENV XDG_DATA_HOME="/data"

ENV DOCUMENT_ROOT="/var/www/html/"

Expand Down
2 changes: 1 addition & 1 deletion php/Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apk add --no-cache gnu-libiconv libwebp-tools jpegoptim optipng pngquant mysql-client

ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
ENV LD_PRELOAD='/usr/lib/preloadable_libiconv.so php'

RUN mkdir -p /var/www/.composer && \
chown -R www-data:www-data /var/www
2 changes: 1 addition & 1 deletion php/Dockerfile.fpm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ COPY --from=composer /usr/bin/composer /usr/bin/composer

RUN apk add --no-cache gnu-libiconv libwebp-tools jpegoptim optipng pngquant mysql-client

ENV LD_PRELOAD /usr/lib/preloadable_libiconv.so php
ENV LD_PRELOAD="/usr/lib/preloadable_libiconv.so php"

COPY config/fpm/docker-healthcheck.sh /usr/local/bin/docker-healthcheck
RUN chmod +x /usr/local/bin/docker-healthcheck
Expand Down
6 changes: 3 additions & 3 deletions php/Dockerfile.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
ARG PHP_VERSION
FROM adeliom/php:${PHP_VERSION}-fpm

ENV NGINX_VERSION 1.24.0
ENV PKG_RELEASE 1
ENV NJS_VERSION 0.8.3
ENV NGINX_VERSION="1.27.1"
ENV PKG_RELEASE="1"
ENV NJS_VERSION="0.8.5"

RUN set -x \
# create nginx user/group first, to be consistent throughout docker variants
Expand Down
6 changes: 3 additions & 3 deletions php/Dockerfile.nginx-wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
ARG PHP_VERSION
FROM adeliom/php:${PHP_VERSION}-fpm-wkhtmltopdf

ENV NGINX_VERSION 1.24.0
ENV PKG_RELEASE 1
ENV NJS_VERSION 0.8.3
ENV NGINX_VERSION="1.27.1"
ENV PKG_RELEASE="1"
ENV NJS_VERSION="0.8.5"

RUN set -x \
# create nginx user/group first, to be consistent throughout docker variants
Expand Down

0 comments on commit a651ce1

Please sign in to comment.