Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine based golang docker image for linux/s390x architecture missing #383

Closed
Ashmita152 opened this issue Aug 20, 2021 · 6 comments
Closed

Comments

@Ashmita152
Copy link

Ashmita152 commented Aug 20, 2021

For alpine 3.14 as base image: golang image for linux/s390x arch is missing (which is available for alpine 3.13)

Screenshot 2021-08-19 at 9 47 24 PM

At first I thought it maybe due to alpine not publishing image for linux/s390x but they do publish it.

Screenshot 2021-08-19 at 9 48 10 PM

Thanks!

@yosifkit
Copy link
Member

( \
cd /usr/local/go/src; \
# set GOROOT_BOOTSTRAP + GOHOST* such that we can build Go successfully
export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; \
./make.bash; \
); \

+ cd /usr/local/go/src
+ go env GOROOT
+ export 'GOROOT_BOOTSTRAP=/usr/lib/go' 'GOHOSTOS=linux' 'GOHOSTARCH=s390x'
+ ./make.bash
ERROR: Cannot find /usr/lib/go/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.

I would guess it has the same root cause as docker-library/php#1178

@tianon
Copy link
Member

tianon commented Aug 20, 2021

Confirmed same root cause, and confirmed same root fix 🎉

@tianon tianon closed this as completed Aug 20, 2021
@Ashmita152
Copy link
Author

Will 1.17-alpine3.14 tag's linux/s390x image be pushed separately or do we need to wait till next golang release ?

@yosifkit
Copy link
Member

Will 1.17-alpine3.14 tag's linux/s390x image be pushed separately or do we need to wait till next golang release ?

Coming soon. They've already been pushed up to the architecture specific repo (https://hub.docker.com/r/s390x/golang), so another job will eventually combine it into the manifest list for https://hub.docker.com/_/golang.

@tianon
Copy link
Member

tianon commented Aug 20, 2021 via email

@Ashmita152
Copy link
Author

Thank you so much for the quick fix, much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants