fix build arguments

This commit is contained in:
El RIDO 2021-07-14 21:21:12 +02:00
parent ade60b7e1c
commit d372a1792f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -30,7 +30,7 @@ docker_login() {
image_build_arguments() {
cat<<!
privatebin/fs --build-arg ALPINE_PACKAGES= --build-arg COMPOSER_PACKAGES=
privatebin/pdo --build-arg ALPINE_PACKAGES="php8-pdo_mysql php8-pdo_pgsql" COMPOSER_PACKAGES=
privatebin/pdo --build-arg ALPINE_PACKAGES="php8-pdo_mysql php8-pdo_pgsql" --build-arg COMPOSER_PACKAGES=
privatebin/gcs --build-arg ALPINE_PACKAGES=php8-openssl
privatebin/nginx-fpm-alpine
!
@ -65,8 +65,8 @@ main() {
image_build_arguments | while read -r IMAGE BUILD_ARGS
do
build_image $PUSH --tag "$IMAGE:latest" --tag "$IMAGE:$TAG" $BUILD_ARGS
build_image $PUSH -f Dockerfile.edge --tag "$IMAGE:edge" $BUILD_ARGS
build_image $PUSH --tag "$IMAGE:latest" --tag "$IMAGE:$TAG" "$BUILD_ARGS"
build_image $PUSH -f Dockerfile.edge --tag "$IMAGE:edge" "$BUILD_ARGS"
done
rm -f Dockerfile.edge "$HOME/.docker/config.json"