Make extension installer its own labeled pre-stage.

This commit is contained in:
Buster Neece 2024-03-19 03:15:47 -05:00
parent 62a17a21eb
commit 5212e54ad6
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -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