Skip to content

Commit

Permalink
fix: add symlink for old caddy location
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Jan 22, 2024
1 parent c5f973f commit 46a1093
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion 8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --no-cache icu-data-full curl jq caddy && \
mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && \
rm -f /usr/local/etc/php-fpm.d/zz-docker.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf.default
rm -f /usr/local/etc/php-fpm.d/www.conf.default && \
ln -s /usr/sbin/caddy /usr/bin/caddy

COPY --from=shyim/supervisord:latest@sha256:8671c375d4890f6592dcab242758427f47303b47b96fe31d86c949a496a9cda2 --link /usr/local/bin/supervisord /usr/bin/supervisord

Expand Down
3 changes: 2 additions & 1 deletion 8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --no-cache icu-data-full curl jq caddy && \
mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && \
rm -f /usr/local/etc/php-fpm.d/zz-docker.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf.default
rm -f /usr/local/etc/php-fpm.d/www.conf.default && \
ln -s /usr/sbin/caddy /usr/bin/caddy

COPY --from=shyim/supervisord:latest@sha256:8671c375d4890f6592dcab242758427f47303b47b96fe31d86c949a496a9cda2 --link /usr/local/bin/supervisord /usr/bin/supervisord

Expand Down
3 changes: 2 additions & 1 deletion 8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --no-cache icu-data-full curl jq caddy && \
mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && \
rm -f /usr/local/etc/php-fpm.d/zz-docker.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf.default
rm -f /usr/local/etc/php-fpm.d/www.conf.default && \
ln -s /usr/sbin/caddy /usr/bin/caddy

COPY --from=shyim/supervisord:latest@sha256:8671c375d4890f6592dcab242758427f47303b47b96fe31d86c949a496a9cda2 --link /usr/local/bin/supervisord /usr/bin/supervisord

Expand Down
3 changes: 2 additions & 1 deletion 8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --no-cache icu-data-full curl jq caddy && \
mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && \
rm -f /usr/local/etc/php-fpm.d/zz-docker.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf.default
rm -f /usr/local/etc/php-fpm.d/www.conf.default && \
ln -s /usr/sbin/caddy /usr/bin/caddy

COPY --from=shyim/supervisord:latest@sha256:8671c375d4890f6592dcab242758427f47303b47b96fe31d86c949a496a9cda2 --link /usr/local/bin/supervisord /usr/bin/supervisord

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apk add --no-cache icu-data-full curl jq caddy && \
mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" && \
rm -f /usr/local/etc/php-fpm.d/zz-docker.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf && \
rm -f /usr/local/etc/php-fpm.d/www.conf.default
rm -f /usr/local/etc/php-fpm.d/www.conf.default && \
ln -s /usr/sbin/caddy /usr/bin/caddy

COPY --from=shyim/supervisord:latest@${SUPERVISORD_DIGEST} --link /usr/local/bin/supervisord /usr/bin/supervisord

Expand Down

0 comments on commit 46a1093

Please sign in to comment.