Skip to content

Commit a9d620e

Browse files
committed
ci: update commands
1 parent 45d456f commit a9d620e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/relea
66

77
ARG EXTENSION=pgsql
88

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
9+
RUN mkdir /data
10+
RUN install-php-extensions "${EXTENSION}"
11+
RUN export EXTENSION_DIR=$(php -r 'echo ini_get("extension_dir");') && \
12+
cp -v "${EXTENSION_DIR}/${EXTENSION}.so" /data
1313

1414

1515
FROM scratch

0 commit comments

Comments
 (0)