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

Update: Use Debian bookworm as base docker image #898

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

oskirby
Copy link
Contributor

@oskirby oskirby commented May 2, 2024

Debian 10/buster has been discontinued, and stopped receiving security updates as of June 2022, and LTS support is going to expire later this year in June 2024. We should make an effort to upgrade to a newer version of Debian. With that work in mind, I have selected Debian 12/bookworm given that it is the current stable release of Debian.

This PR attempts to upgrade the base docker image from golang:1.16-buster to debian:bookworm. This also necessitates an upgrade to golang 1.19, and brings with it a handful of test fixes due to changes in the standard go libraries.

This is a subset of PR #893 with only the bits necessary to upgrade the base docker image.

@oskirby oskirby marked this pull request as ready for review May 2, 2024 21:36
@oskirby oskirby requested review from hwine and jmhodges May 2, 2024 21:36
@jmhodges
Copy link
Contributor

jmhodges commented May 2, 2024

This one has to wait for us to get off CentOS 7 on our VMs. We'll need to plan out what that looks like next week

Dockerfile Show resolved Hide resolved
@@ -48,7 +48,7 @@ func setRequestStartTime() Middleware {
}
}

// Run the request through all middlewares
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You know, we could do these gofmt changes out of this PR since we still have wait on the centos7 change. I can post a quick PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll rebase my PR after that one lands to remove it - IIRC lint-vet-fmt job will fail without the linting changes. Not that it really matters, but I like keeping the CI green.

jmhodges added a commit that referenced this pull request May 3, 2024
First seen in PR #898, and maybe worthy of
breaking it out to a separate PR.

Run with:

go1.22.2 fmt ./...
go1.22.2 fmt ./tools/... # to catch the submodules
jmhodges added a commit that referenced this pull request May 3, 2024
First seen in PR #898, and maybe worthy of
breaking it out to a separate PR.

Run with:

go1.22.2 fmt ./...
go1.22.2 fmt ./tools/... # to catch the submodules
@jmhodges
Copy link
Contributor

jmhodges commented May 3, 2024

This is patch is shippable once we do the CentOS7 upgrades! Thank you so much!

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