Skip to content

Commit

Permalink
fix: php-fpm sqlsrv gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
bestlong committed Oct 13, 2023
1 parent 6e6bdd5 commit 60c1b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-fpm/Dockerfile
Expand Up @@ -765,7 +765,7 @@ RUN set -eux; \
# Add Microsoft repo for Microsoft ODBC Driver 13 for Linux \
apt-get update \
&& apt-get install -yqq apt-transport-https gnupg lsb-release \
&& if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
&& if [ ${LARADOCK_PHP_VERSION} = "8.1" ] || [ ${LARADOCK_PHP_VERSION} = "8.2" ]; then \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg \
;else \
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \
Expand Down

0 comments on commit 60c1b33

Please sign in to comment.