xgo icon indicating copy to clipboard operation
xgo copied to clipboard

Docker images for arm64?

Open tuxillo opened this issue 11 months ago • 6 comments

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!

tuxillo avatar Jul 13 '23 14:07 tuxillo

do block https://github.com/woodpecker-ci/woodpecker/pull/2232

6543 avatar Aug 20 '23 21:08 6543

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

Vitaminaq avatar Sep 22 '23 09:09 Vitaminaq

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'

techknowlogick avatar Sep 28 '23 19:09 techknowlogick

gcc-9-aarch64-linux-gnu

Does it have to be that specific version?

tuxillo avatar Oct 26 '23 21:10 tuxillo

Any updates on this?

TENX-S avatar Mar 29 '24 04:03 TENX-S

follow #224 ...

6543 avatar Mar 29 '24 12:03 6543