forked from sameersbn/docker-gitlab
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stolen from sameersbn#2732 Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
- Loading branch information
Showing
2 changed files
with
36 additions
and
6 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,13 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Takes ages on a beefy Xeon workstation (5h+ due to arm64 emulation via qemu) | ||
# docker buildx create --name multi-platform-builder --use --bootstrap || true | ||
# time docker buildx build \ | ||
# --push --platform linux/amd64,linux/arm64 \ | ||
# -t jack12816/private:gitlab-16.1.2 . | ||
|
||
# Run on a AWS/EC2/t4g.2xlarge 8vCPU/32GB memory (0.2944 USD per Hour) | ||
# for ~45 min (with manual Docker installation on Ubuntu) | ||
time docker buildx build --push -t jack12816/private:gitlab-16.1.2 . |