ARM builds + nginx 1.18.0 and PHP 7.4.8

This commit is contained in:
Ric Harvey
2020-08-03 10:07:28 +01:00
parent fa5f2b9f1c
commit f3f75aa636
5 changed files with 17 additions and 15 deletions

13
build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
version=`cat version`
# Set up environment
docker version
docker buildx ls
docker buildx create --name phpbuilder
docker buildx use phpbuilder
echo "Building: PHP Container"
docker buildx build --platform linux/amd64,linux/arm64 -t "richarvey/nginx-php-fpm:'$VERSION'" -t richarvey/nginx-php-fpm:latest --push .