Skip to content

Commit

Permalink
fix: align dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
saschanowak committed Nov 29, 2024
1 parent fda6b50 commit 8c26ef8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions php/8.2.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV PHP_VERSION=${PHP_VERSION} \
RUN apt-get update && \
apt-get -y install --no-install-suggests --no-install-recommends \
software-properties-common \
apt-transport-https\
apt-transport-https \
libfcgi-bin \
ca-certificates \
curl \
Expand Down Expand Up @@ -131,7 +131,7 @@ FROM base AS php-fpm

COPY fpm /usr/local/bin/

STOPSIGNAL SIGQUIT
STOPSIGNAL SIGTERM
EXPOSE 9000

HEALTHCHECK --interval=2s --timeout=5s --retries=10 CMD php-fpm-healthcheck || exit 1
Expand Down Expand Up @@ -176,7 +176,8 @@ ENV PHP_ASSERT=1 \
COMPOSER_CACHE_DIR=/.cache/composer/ \
YARN_CACHE_FOLDER=/.cache/yarn/ \
npm_config_cache=/.cache/npm/ \
TERM=xterm-256color
TERM=xterm-256color \
TIDEWAYS_DAEMON=""

# enable debugging with PhpStorm
ENV PHP_IDE_CONFIG="serverName=localhost"
Expand Down
7 changes: 4 additions & 3 deletions php/8.4.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV PHP_VERSION=${PHP_VERSION} \
RUN apt-get update && \
apt-get -y install --no-install-suggests --no-install-recommends \
software-properties-common \
apt-transport-https\
apt-transport-https \
libfcgi-bin \
ca-certificates \
curl \
Expand Down Expand Up @@ -130,7 +130,7 @@ FROM base AS php-fpm

COPY fpm /usr/local/bin/

STOPSIGNAL SIGQUIT
STOPSIGNAL SIGTERM
EXPOSE 9000

HEALTHCHECK --interval=2s --timeout=5s --retries=10 CMD php-fpm-healthcheck || exit 1
Expand Down Expand Up @@ -175,7 +175,8 @@ ENV PHP_ASSERT=1 \
COMPOSER_CACHE_DIR=/.cache/composer/ \
YARN_CACHE_FOLDER=/.cache/yarn/ \
npm_config_cache=/.cache/npm/ \
TERM=xterm-256color
TERM=xterm-256color \
TIDEWAYS_DAEMON=""

# enable debugging with PhpStorm
ENV PHP_IDE_CONFIG="serverName=localhost"
Expand Down

0 comments on commit 8c26ef8

Please sign in to comment.