diff --git a/7.4/Dockerfile b/7.4/Dockerfile index f63dcd0..b7b3d3d 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -88,7 +88,7 @@ RUN set -eux; \ \ apk del --no-network .fetch-deps -COPY docker-php-source /usr/local/bin/ +COPY docker-php-source /usr/local/bin/docker-php-source RUN set -eux; \ apk add --no-cache --virtual .build-deps \ @@ -110,6 +110,7 @@ RUN set -eux; \ CPPFLAGS="$PHP_CPPFLAGS" \ LDFLAGS="$PHP_LDFLAGS" \ ; \ + chmod +x docker-php-source; \ docker-php-source extract; \ cd /usr/src/php; \ gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \ diff --git a/8.1/Dockerfile b/8.1/Dockerfile index 62d49e2..a541708 100644 --- a/8.1/Dockerfile +++ b/8.1/Dockerfile @@ -88,7 +88,7 @@ RUN set -eux; \ \ apk del --no-network .fetch-deps -COPY docker-php-source /usr/local/bin/ +COPY docker-php-source /usr/local/bin/docker-php-source RUN set -eux; \ apk add --no-cache --virtual .build-deps \ @@ -110,6 +110,7 @@ RUN set -eux; \ CPPFLAGS="$PHP_CPPFLAGS" \ LDFLAGS="$PHP_LDFLAGS" \ ; \ + chmod +x docker-php-source; \ docker-php-source extract; \ cd /usr/src/php; \ gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; \