Skip to content

Commit

Permalink
typo, add back PHP_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEverling committed Jan 24, 2024
1 parent 11c4807 commit dad3c7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ RUN <<-EOD
echo "deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/ubuntu/${OS_BASE}/prod ${OS_CODENAME} main" \
| tee /etc/apt/sources.list.d/microsoft-prod.list > /dev/null; \
#Set PHP Packages
PKGS="php8.1,libapache2-mod-php,php-cli,php-dev,unzip,zip,libaio1,libcurl4,libgss3,libldap-common,libmcrypt-dev,libxml2,libxslt1.1,libzip-dev,locales,msodbcsql18, \
PKGS="php${PHP_VERSION},libapache2-mod-php,php-cli,php-dev,unzip,zip,libaio1,libcurl4,libgss3,libldap-common,libmcrypt-dev,libxml2,libxslt1.1,libzip-dev,locales,msodbcsql18, \
odbcinst,sassc,unixodbc,unixodbc-dev,php-bcmath,php-curl,php-gd,php-iconv,php-intl,php-json,php-ldap,php-mbstring,php-mysql,php-odbc,php-opcache,php-pdo,php-pspell, \
php-readline,php-shmop,php-soap,php-simplexml,php-sqlite3,php-xml,php-xmlrpc,php-zip,php-pear,php-xdebug";
#Install Packages
Expand Down Expand Up @@ -65,10 +65,10 @@ EOT
);
echo $INI | sed 's/^ //g' > /etc/php/01-custom.ini;
ln -s /etc/php/01-custom.ini /etc/php/${PHP_VERSION}/apache2/conf.d/01-custom.ini;
echo "Custom PHP INI Location: [ /etc/php/01-custom.ini ], Link: [ /etc/php/${PHP_VERSION}/apache2/conf.d/01-custom.ini ]";
#Cleanup
ocie --clean "-base";
echo "Finished installing base system";
echo "Custom PHP INI Location: [ /etc/php/01-custom.ini ], Link: [ /etc/php/${PHP_VERSION}/apache2/conf.d/01-custom.ini ]";
EOD

RUN <<-EOD
Expand Down

0 comments on commit dad3c7c

Please sign in to comment.