This commit is contained in:
Daniil Gentili 2023-05-30 19:50:04 +02:00
parent 12ce14c13c
commit d673414cbb
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -5,7 +5,7 @@ docker buildx create --use --name wp --driver remote tcp://192.168.69.206:1234
build() {
cd "$1"
docker buildx build --pull --load --push --platform linux/riscv64 . -t danog/php:$2 --cache-from danog/php:$2 --cache-to type=inline
docker buildx build --pull --push --platform linux/riscv64 . -t danog/php:$2 --cache-from danog/php:$2 --cache-to type=inline
cd "$base"
}
@ -20,6 +20,9 @@ base=$PWD
build alpineedge/cli/ 8.2-alpine
build alpineedge/fpm/ 8.2-fpm-alpine
docker pull danog/php:8.2-alpine
docker pull danog/php:8.2-fpm-alpine
docker tag danog/php:8.2-alpine danog/php:latest
docker tag danog/php:8.2-alpine danog/php:8.2
docker tag danog/php:8.2-fpm-alpine danog/php:8.2-fpm