xgo
xgo copied to clipboard
Docker images for arm64?
Hi,
Trying to use xgo in MacOS arm64 together with Docker Desktop I get:
$ go run src.techknowlogick.com/xgo@latest help
Checking docker installation...
Client:
Cloud integration: v1.0.31
Version: 23.0.5
API version: 1.42
Go version: go1.19.8
Git commit: bc4487a
Built: Wed Apr 26 16:12:52 2023
OS/Arch: darwin/arm64
Context: default
Server: Docker Desktop 4.19.0 (106363)
Engine:
Version: 23.0.5
API version: 1.42 (minimum version 1.12)
Go version: go1.19.8
Git commit: 94d3ad6
Built: Wed Apr 26 16:17:14 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.20
GitCommit: 2806fc1057397dbaeefbea0e4e17bddfbd388f38
runc:
Version: 1.1.5
GitCommit: v1.1.5-0-gf19387a
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Checking for required docker image techknowlogick/xgo:latest... not found!
Pulling techknowlogick/xgo:latest from docker registry...
latest: Pulling from techknowlogick/xgo
no matching manifest for linux/arm64/v8 in the manifest list entries
2023/07/13 15:52:13 Failed to pull docker image from the registry: exit status 1.
exit status 1
There is probably a way to override this but I think a linux/arm64 would help here?
Thanks!
do block https://github.com/woodpecker-ci/woodpecker/pull/2232
another way: Download the source code for this repository in xgo. go and change the logic of the latest to the corresponding version you downloaded from the dockerhub
ep: https://hub.docker.com/r/techknowlogick/xgo/tags?page=2 download: go-1.20.4
Re-opening as there are packages missing from ubuntu for arm64:
4.490 Reading state information...
4.597 E: Unable to locate package gcc-9-aarch64-linux-gnu
4.597 E: Unable to locate package g++-9-aarch64-linux-gnu
4.597 E: Couldn't find any package by regex 'g++-9-aarch64-linux-gnu'
4.597 E: Unable to locate package gcc-9-multilib
4.597 E: Unable to locate package g++-9-multilib
4.597 E: Couldn't find any package by regex 'g++-9-multilib'
4.597 E: Unable to locate package gcc-9-aarch64-linux-gnu
4.597 E: Unable to locate package g++-9-aarch64-linux-gnu
4.597 E: Couldn't find any package by regex 'g++-9-aarch64-linux-gnu'
4.597 E: Unable to locate package gcc-9-multilib
4.597 E: Unable to locate package g++-9-multilib
4.597 E: Couldn't find any package by regex 'g++-9-multilib'
4.597 E: Unable to locate package gcc-9-multilib
4.597 E: Unable to locate package g++-9-multilib
4.597 E: Couldn't find any package by regex 'g++-9-multilib'
gcc-9-aarch64-linux-gnu
Does it have to be that specific version?
Any updates on this?
follow #224 ...