mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 13:18:14 -05:00
22 lines
441 B
Bash
22 lines
441 B
Bash
#!/bin/bash
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
. "$DIR/frontend-build"
|
|
|
|
cd "${DIR}/.."
|
|
|
|
# Buildx Builder
|
|
docker buildx create --name "Buildx-NPM" || echo
|
|
docker buildx use "Buildx-NPM"
|
|
|
|
docker buildx build \
|
|
-t chishin/nginx-proxy-manager-zh:2.9.18 \
|
|
-f docker/Dockerfile-zh \
|
|
--platform linux/amd64,linux/arm64,linux/arm/7 \
|
|
--progress plain \
|
|
. --push
|
|
|
|
docker buildx rm "Buildx-NPM"
|
|
|
|
echo "Multiarch build Complete"
|