mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Build arm64 images by default and additionally do not require docker buildx for simple builds
This commit is contained in:
parent
66c6656f97
commit
f6a1f0e63f
12 changed files with 128 additions and 84 deletions
|
|
@ -8,8 +8,7 @@ GOLANG_DOWNLOAD_SHA256=${2}
|
|||
GOLANG_DOWNLOAD_URL="https://golang.org/dl/go${INSTALL_GOLANG_VERSION}.linux-${TARGETARCH:-amd64}.tar.gz"
|
||||
|
||||
function build_debian() {
|
||||
curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz
|
||||
echo "${GOLANG_DOWNLOAD_SHA256} golang.tar.gz" | sha256sum -c -
|
||||
/scripts/download-file golang.tar.gz "$GOLANG_DOWNLOAD_URL" $GOLANG_DOWNLOAD_SHA256
|
||||
tar -C /usr/local -xzf golang.tar.gz
|
||||
rm golang.tar.gz
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue