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

fix: Docker/Debian version sync #638

Merged
merged 3 commits into from Dec 19, 2022
Merged

fix: Docker/Debian version sync #638

merged 3 commits into from Dec 19, 2022

Conversation

scop
Copy link
Contributor

@scop scop commented Dec 18, 2022

See individual commits for details.

Regarding just using bullseye as the builder Rust image version, the unimportance of that is frankly just a guess. If there is some importance to it, could use e.g. rust:1.66-${DEBIAN_DIST} instead. Might require disabling Renovate's updates to this file, I don't know if it'd drop the -${DEBIAN_DIST} suffix on updates.

`rust:1.65.0` is based on Bullseye, and at time of writing the binary
built on it does not work on Buster:

```
$ docker build -t typos . && docker run --rm -it typos typos -V
typos: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found
       (required by typos)
```
Use `bullseye` explicitly to make the correspondence with the final
image clear, and remove explicit Rust version as it does not seem that
important, and the final runtime image version is what it is at the time
too.
Makes it overridable from CLI, and just one place to update.
@epage epage merged commit 87d2236 into crate-ci:master Dec 19, 2022
@scop scop deleted the fix/docker-debian-sync branch December 20, 2022 19:05
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

Successfully merging this pull request may close these issues.

None yet

2 participants