From 5212e54ad6e71c0f8bcab8e250247544c38679eb Mon Sep 17 00:00:00 2001 From: Buster Neece Date: Tue, 19 Mar 2024 03:15:47 -0500 Subject: [PATCH] Make extension installer its own labeled pre-stage. --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6175d254d..85606062b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,6 +32,11 @@ FROM ghcr.io/azuracast/icecast-kh-ac:2024-02-13 AS icecast # FROM ghcr.io/roadrunner-server/roadrunner:2023.3.8 AS roadrunner +# +# PHP Extension Installer build step +# +FROM mlocati/php-extension-installer AS php-extension-installer + # # Final build image # @@ -44,7 +49,7 @@ ENV TZ="UTC" \ LC_TYPE="en_US.UTF-8" # Add PHP extension installer tool -COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ +COPY --from=php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/ # Add Go dependencies COPY --from=go-dependencies /go/bin/dockerize /usr/local/bin