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

Docker build issue on master #128

Open
lordelysium opened this issue Aug 20, 2024 · 0 comments
Open

Docker build issue on master #128

lordelysium opened this issue Aug 20, 2024 · 0 comments

Comments

@lordelysium
Copy link


[node_exporter_awg base 9/15] RUN MUSL="$(cat /tmp/musl)" && wget -qO- "https://musl.cc/$MUSL-cross.tgz" | tar -xzC /tmp && rm "/tmp/$MUSL-cross/usr" && cp -fr /tmp/"$MUSL"-cross/* / && rm -rf "/tmp/$MUSL-cross":
55.06 cp: cannot overwrite non-directory '/bin' with directory '/tmp/x86_64-linux-musl-cross/bin'
55.06 cp: cannot overwrite non-directory '/lib' with directory '/tmp/x86_64-linux-musl-cross/lib'
failed to solve: process "/bin/sh -c MUSL="$(cat /tmp/musl)" && wget -qO- "https://musl.cc/$MUSL-cross.tgz\" | tar -xzC /tmp && rm "/tmp/$MUSL-cross/usr" && cp -fr /tmp/"$MUSL"-cross/* / && rm -rf "/tmp/$MUSL-cross"" did not complete successfully: exit code: 1


Fail:
Dockerfile ARG RUST_VERSION=latest
or
ARG RUST_VERSION=1.72 or higher

Works fine:
ARG RUST_VERSION=1.71.1 or lower
ARG RUST_VERSION=1.68.2
ARG RUST_VERSION=1.69

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

1 participant