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

zstd cgo implementation missing from docker image #802

Open
timonwong opened this issue Feb 13, 2025 · 1 comment
Open

zstd cgo implementation missing from docker image #802

timonwong opened this issue Feb 13, 2025 · 1 comment

Comments

@timonwong
Copy link

timonwong commented Feb 13, 2025

Upgrade from 2.4.3 to 2.5.0:

Unrecognized ZSTD implementation: cgo, supported: map[go:{}]

Edit:
It's stop working starting from 2.4.4, in linux/amd64 image only (However, linux/arm64 image works)

It seems

bazel-remote/BUILD.bazel

Lines 99 to 124 in 9db53de

pkg_tar(
name = "bazel-remote_tar",
srcs = [":bazel-remote"],
)
oci_image(
name = "bazel-remote-image",
base = "@cgo_amd64_base", # Does not include openssl.
entrypoint = [
"/bazel-remote",
"--http_address=:8080",
"--dir=/data",
# Listen on all addresses, not just 127.0.0.1, so this can
# be reached from outside the container (with a -p mapping).
# Specify a port to enable the profiling http server.
"--profile_address=:6060",
],
exposed_ports = ["8080"],
tars = [
"data.tar",
":bazel-remote_tar",
],
user = str(BAZEL_REMOTE_USER_ID),
visibility = ["//visibility:public"],
)
refers wrong go_binary (should be bazel-remote-linux-amd64 instead?)

@mostynb
Copy link
Collaborator

mostynb commented Feb 16, 2025

Hi- thanks for the bug report. I will try to take a look this week.

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

2 participants