docker run \
-it \
--name go-arm64 \
cake233/go-arm64
docker exec -it go-arm64 bash
docker run \
-t \
--rm \
-v "$PWD"/go-project:/app \
-w /app \
-e GOOS=linux \
-e CGO_ENABLED=0 \
cake233/go-arm64 \
go build -trimpath --ldflags "-s -w -buildid=" -v -o main.bin
// go run readme.go
package main
import "fmt"
func main() {
var (
country, proxy_site string
)
country = "China"
proxy_site = "https://goproxy.cn"
fmt.Printf("If you live in\x1b[%dm %v. \x1b[0m\n", 32, country)
fmt.Printf("Then you can run the following\x1b[%dm commands. \x1b[0m\n", 31)
fmt.Println("go env -w GO111MODULE=on")
fmt.Printf("go env -w GOPROXY=%v,direct\n", proxy_site)
}
[main]
name = "go"
tag = ["latest", "2024-02-26"]
os = "debian"
release = "stable"
arch = "arm64"
platform = "linux/arm64"
xorg_or_wayland = false
syntax_version = "0.0.0-alpha.4"
[file]
name = "go_arm64_2024-02-26_12-09.tar.zst"
# This value can be used to verify the integrity of the file
sha256 = "dd694cbce61f2cca6c4bb71cfa1ffd416cc3c162c893ea8775dc4a6a29be23bc"
# zstd: [1-22]
zstd-level = 22
[file.size]
# Installed size ≈ tar-size
# Installed size is approximately equal to the size of the tar file
tar = "844M"
tar_bytes = 884658176
# Space occupied ≈ tar-size + zstd-size
# You will need to prepare a large enough space before installation.
zstd = "160M"
zstd_bytes = 167678630
[compatibility]
compatible_mode = true
previous_version = "latest01"
# The value is &str, not int
previous_date = "20231127"
previous_tag = "2023-11-27"
previous_file = "go_arm64_2023-11-27_12-09-rootfs.tar.zst"
previous_sha256 = "9c7f8f5c686d7d622eec4e0054e9039fff84d62820555bcc6604d825890ed796"
current_version = "latest02"
current_date = "20240226"
old_file = "go_arm64_2023-10-16_12-11-rootfs.tar.zst"
old_sha256 = "57199e6530806143529f184fdb303a7bec0592b638b17da15636a2bace370d4e"
# edition 2021
# DISTRO_NAME=go_arm64
# ROOTFS_FILE=go_arm64_2024-02-26_12-09-rootfs.tar.zst
# SHA256SUM=dd694cbce61f2cca6c4bb71cfa1ffd416cc3c162c893ea8775dc4a6a29be23bc
# BUILD_DATE=20240226
# BUILD_TAG=2024-02-26
# STATUS=completed
# VERSION=latest02
# END_TIME=12:09
[time]
format = "rfc-3339"
zone = "UTC"
date = 2024-02-26
begin = 2024-02-26 12:02:33.084555138+00:00
start-sync_0 = 12:04:54
start-zstd = 12:05:07
start-sync_1 = 12:09:32
end-sync_1 = 12:09:44
end = 2024-02-26 12:09:44.853947159+00:00
[server]
repo = "cake233/go-arm64"
[server.node1]
name = "cn"
current = false
previous = false
in_sync = false
split = false
[server.node2]
name = "tmoe"
current = true
previous = true
in_sync = false
split = false
[server.node3]
name = "azure"
current = true
previous = true
in_sync = false
split = false
[server.node4]
name = "docker"
current = true
# Environment variables (●>ω<●)
[env]
LANG = "en_US.UTF-8"
PATH = "/go/bin:/usr/local/go/bin${PATH:+:${PATH}}"
GOPATH = "/go"
[version]
ldd = 'ldd (Debian GLIBC 2.36-9+deb12u4) 2.36'
go = 'go version go1.22.0 linux/arm64'
gofmt = '/usr/local/go/bin/gofmt: go1.22.0'
[other]
workdir = "/go"
Content type
Image
Digest
sha256:f7af045fc…
Size
302.9 MB
Last updated
almost 3 years ago
docker pull cake233/go-arm64