diff --git a/Dockerfile b/Dockerfile index b2b0c1a..09c662a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -FROM bash +FROM bash AS build -COPY install-php-extensions /usr/bin/install-php-extensions -RUN chmod +x /usr/bin/install-php-extensions +COPY install-php-extensions /tmp/install-php-extensions +RUN chmod +x /tmp/install-php-extensions + +FROM scratch + +COPY --from=build /tmp/install-php-extensions /usr/bin/install-php-extensions