Skip to content

Commit

Permalink
add explicit symfony version
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed May 10, 2024
1 parent f8391fc commit 095d54f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG PHP_VERSION=8.3
ARG COMPOSER_VERSION=2.7.6
ARG SYMFONY_VERSION=5.8.19
ARG NODE_MAJOR=20
ARG DEFAULT_PHP_EXTENSIONS="bcmath exif gd intl opcache pcntl pdo_pgsql pdo_mysql sockets sysvmsg sysvsem sysvshm zip redis amqp"
ARG PHP_EXTENSIONS
Expand All @@ -21,12 +22,13 @@ ARG DEFAULT_PHP_EXTENSIONS
ARG PHP_EXTENSIONS
ARG APT_PACKAGES
ARG COMPOSER_VERSION
ARG SYMFONY_VERSION
ARG NODE_MAJOR
ARG INSTALL_PHP_EXTENSION_URL
ENV INSTALL_PHP_EXTENSION_URL "${INSTALL_PHP_EXTENSION_URL}"
ENV PHP_EXTENSIONS "${DEFAULT_PHP_EXTENSIONS} ${PHP_EXTENSIONS}"
ENV DOCUMENT_ROOT /srv/app/public
ENV SYMFONY_CLI_URL 'https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_amd64.tar.gz'
ENV SYMFONY_CLI_URL 'https://github.com/symfony-cli/symfony-cli/releases/v${SYMFONY_VERSION}/download/symfony-cli_linux_amd64.tar.gz'
ENV APT_PACKAGES "${APT_PACKAGES}"
ENV COMPOSER_VERSION "${COMPOSER_VERSION}"

Expand Down Expand Up @@ -88,12 +90,13 @@ ARG DEFAULT_PHP_EXTENSIONS
ARG PHP_EXTENSIONS
ARG APT_PACKAGES
ARG COMPOSER_VERSION
ARG SYMFONY_VERSION
ARG NODE_MAJOR
ARG INSTALL_PHP_EXTENSION_URL
ENV INSTALL_PHP_EXTENSION_URL "${INSTALL_PHP_EXTENSION_URL}"
ENV PHP_EXTENSIONS "${DEFAULT_PHP_EXTENSIONS} ${PHP_EXTENSIONS}"
ENV DOCUMENT_ROOT /srv/app/public
ENV SYMFONY_CLI_URL 'https://github.com/symfony-cli/symfony-cli/releases/latest/download/symfony-cli_linux_amd64.tar.gz'
ENV SYMFONY_CLI_URL 'https://github.com/symfony-cli/symfony-cli/releases/v${SYMFONY_VERSION}/download/symfony-cli_linux_amd64.tar.gz'
ENV APT_PACKAGES "${APT_PACKAGES}"
ENV COMPOSER_VERSION "${COMPOSER_VERSION}"

Expand Down

0 comments on commit 095d54f

Please sign in to comment.