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 45d456f commit a9d620eCopy full SHA for a9d620e
Dockerfile
@@ -6,10 +6,10 @@ ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/relea
6
7
ARG EXTENSION=pgsql
8
9
-RUN EXTENSION_DIR="$(php -r "echo ini_get('extension_dir');")" && \
10
- install-php-extensions "${EXTENSION}" && \
11
- mkdir /data && \
12
- cp "${EXTENSION_DIR}/${EXTENSION}.so" /data
+RUN mkdir /data
+RUN install-php-extensions "${EXTENSION}"
+RUN export EXTENSION_DIR=$(php -r 'echo ini_get("extension_dir");') && \
+ cp -v "${EXTENSION_DIR}/${EXTENSION}.so" /data
13
14
15
FROM scratch
0 commit comments