Skip to content

Commit cc358ff

Browse files
committed
ci: fix arg name
1 parent fbd6fac commit cc358ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ FROM php:${PHP_VERSION}-cli AS build
44

55
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
66

7-
ARG EXTENSION=pgsql
7+
ARG PHP_EXTENSION=pgsql
88

99
RUN mkdir /data
10-
RUN install-php-extensions "${EXTENSION}"
10+
RUN install-php-extensions "${PHP_EXTENSION}"
1111
RUN export EXTENSION_DIR=$(php -r 'echo ini_get("extension_dir");') && \
12-
cp -v "${EXTENSION_DIR}/${EXTENSION}.so" /data
12+
cp -v "${EXTENSION_DIR}/${PHP_EXTENSION}.so" /data
1313

1414

1515
FROM scratch

0 commit comments

Comments
 (0)