We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbd6fac commit cc358ffCopy full SHA for cc358ff
Dockerfile
@@ -4,12 +4,12 @@ FROM php:${PHP_VERSION}-cli AS build
4
5
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
6
7
-ARG EXTENSION=pgsql
+ARG PHP_EXTENSION=pgsql
8
9
RUN mkdir /data
10
-RUN install-php-extensions "${EXTENSION}"
+RUN install-php-extensions "${PHP_EXTENSION}"
11
RUN export EXTENSION_DIR=$(php -r 'echo ini_get("extension_dir");') && \
12
- cp -v "${EXTENSION_DIR}/${EXTENSION}.so" /data
+ cp -v "${EXTENSION_DIR}/${PHP_EXTENSION}.so" /data
13
14
15
FROM scratch
0 commit comments