Skip to content

Commit 23e76bb

Browse files
Build my own image for linux/arm/7, store it into tar.gz file
1 parent 5920b0c commit 23e76bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/buildx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,18 @@ fi
1717
docker buildx create --name "${BUILDX_NAME:-npm}" || echo
1818
docker buildx use "${BUILDX_NAME:-npm}"
1919

20+
# --platform linux/amd64,linux/arm64,linux/arm/7 \
2021
docker buildx build \
2122
--build-arg BUILD_VERSION="${BUILD_VERSION:-dev}" \
2223
--build-arg BUILD_COMMIT="${BUILD_COMMIT:-notset}" \
2324
--build-arg BUILD_DATE="$(date '+%Y-%m-%d %T %Z')" \
2425
--build-arg GOPROXY="${GOPROXY:-}" \
2526
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
26-
--platform linux/amd64,linux/arm64,linux/arm/7 \
27+
--platform linux/arm/7 \
2728
--progress plain \
2829
--pull \
30+
-t my-npm-certbot1.3:2.9.19 \
31+
--output type=docker,dest=../my-npm-2.9.19.tar.gz \
2932
-f docker/Dockerfile \
3033
$@ \
3134
.

0 commit comments

Comments
 (0)