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

Cannot crossbuild with promu with latest golang-builder images #185

Closed
bsosnader opened this issue Jun 9, 2022 · 3 comments
Closed

Cannot crossbuild with promu with latest golang-builder images #185

bsosnader opened this issue Jun 9, 2022 · 3 comments

Comments

@bsosnader
Copy link

After this change to the golang-builder base image 1.18: https://quay.io/repository/prometheus/golang-builder?tab=history&tag=latest on June 8, any crossbuilds with promu that utilize the golang-builder image is completely broken. The container cannot start:

build
bash build_ui.sh --all
build module/lezer-promql
make: *** [Makefile:48: ui-build] Error 243
!! The base builder docker image exited unexpectedly: exit status 2

This is on debian linux. I ran promu crossbuild -p windows/amd64 as well as linux/amd64, both failed with same error.

@roidelapluie
Copy link
Member

We have a workaround in main. See npm/cli#4996 for the root cause.

Our workaround: prometheus/prometheus#10843

@bsosnader
Copy link
Author

bsosnader commented Jun 9, 2022

thanks! forgot to pull

@SuperQ
Copy link
Member

SuperQ commented Jun 10, 2022

Oh, I wonder if we should fix this by setting the ENV var in the golang-builder image.

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