mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-22 23:08:15 +08:00
Improving multi-platform support
This commit is contained in:
parent
61f31882ce
commit
68d8df88dc
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
run: |-
|
||||
docker buildx build \
|
||||
--cache-from=$IMAGE_NAME:latest
|
||||
--cache-from=$IMAGE_NAME:latest \
|
||||
--push \
|
||||
-t $IMAGE_NAME:latest \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
if: contains(github.ref, 'refs/tags/')
|
||||
run: |-
|
||||
docker buildx build \
|
||||
--cache-from=$IMAGE_NAME:latest
|
||||
--cache-from=$IMAGE_NAME:latest \
|
||||
--push \
|
||||
-t $IMAGE_NAME:$RELEASE_VERSION \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
|
||||
|
@ -5,6 +5,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
|
||||
|
||||
|
||||
* Built on the lightweight and secure Alpine Linux distribution
|
||||
* Multi-platform, supporting AMD4, ARMv6, ARMv7, ARM64
|
||||
* Very small Docker image size (+/-40MB)
|
||||
* Uses PHP 8.0 for better performance, lower CPU usage & memory footprint
|
||||
* Optimized for 100 concurrent users
|
||||
|
Loading…
Reference in New Issue
Block a user