Skip to content

Commit

Permalink
Moved back to PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mbuechner committed Oct 29, 2021
1 parent 735d863 commit a2aa461
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN { \
} >> /tmp/cdv/web/themes/custom/relaunch2018/templates/html.html.twig; \
rm -rf .git/;

FROM php:8.0-fpm-alpine
FROM php:7.4-fpm-alpine
MAINTAINER Michael Büchner <m.buechner@dnb.de>

# Install packages
Expand Down Expand Up @@ -96,8 +96,8 @@ COPY --chown=${RUN_USER}:${RUN_GROUP} --from=COMPOSER_CHAIN /tmp/cdv/ .
ENV PATH=${PATH}:/var/www/html/vendor/bin

RUN \
# Create symlink for php8
ln -s /usr/bin/php8 /usr/bin/php; \
# Create symlink for php7.4
ln -s /usr/bin/php7.4 /usr/bin/php; \
# Use the default PHP production configuration
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \
# Move entrypoint script in place
Expand Down

0 comments on commit a2aa461

Please sign in to comment.