-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f78dc3
commit b7f49dc
Showing
5 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@echo off | ||
|
||
REM start to build | ||
REM https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ | ||
REM https://segmentfault.com/a/1190000021166703 | ||
REM linux/arm/v6,linux/riscv64,linux/s390x,linux/ppc64le,linux/386,,linux/arm/v7 偶发异常,待进一步测试 | ||
echo Start to build docker image with multi-arch | ||
@echo on | ||
docker buildx build --platform linux/amd64,linux/arm64 --push -t zai7lou/bilibili_tool ../.. | ||
@echo off | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
|
||
REM start to build | ||
REM https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ | ||
REM https://segmentfault.com/a/1190000021166703 | ||
echo Start to build docker image with amd64-arch | ||
@echo on | ||
docker buildx build --platform linux/amd64 -o type=docker -t zai7lou/bilibili_tool ../.. | ||
@echo off | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
|
||
REM start to build | ||
REM https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ | ||
REM https://segmentfault.com/a/1190000021166703 | ||
echo Start to build docker image with arm64-arch | ||
@echo on | ||
docker buildx build --platform linux/arm64 -o type=docker -t zai7lou/bilibili_tool ../.. | ||
@echo off | ||
pause |