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 protobuf-compiler version to match Debian bullseye #736

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

tvainika
Copy link
Contributor

About this change - What it does

Fix protobuf-compiler version to match Debian bullseye

@tvainika tvainika requested review from a team as code owners October 11, 2023 14:00
@aiven-anton aiven-anton enabled auto-merge October 11, 2023 14:19
@@ -32,7 +32,7 @@ RUN groupadd --system karapace \
&& chown --recursive karapace:karapace /opt/karapace /var/log/karapace

# Install protobuf compiler.
ARG PROTOBUF_COMPILER_VERSION="3.12.4-1"
ARG PROTOBUF_COMPILER_VERSION="3.12.4-1+deb11u1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe the version should be removed here as the compiler is from the Debian packages. There is only one version available.

Copy link
Contributor

Choose a reason for hiding this comment

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

I was the one adding this, without much thought to it other than to adhere to the linter:

- repo: https://github.com/hadolint/hadolint

We would just need to add another ignore there if we remove the version pin.

I'll refrain from commenting on whether it's a good idea to pin apt packages or not, but I'll link the rationale from the tool itself: https://github.com/hadolint/hadolint/wiki/DL3008#rationale. I'm fine with ditching this practice.

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 had rebased other PR on this just to get CI builds passing. I'm open to non-pinned versions here, but as the build is passing, I'm not planning to actively work on it now.

@giuseppelillo giuseppelillo merged commit 4ceb491 into main Oct 12, 2023
8 checks passed
@giuseppelillo giuseppelillo deleted the fix-protobuf-compiler-version branch October 12, 2023 08:56
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.

4 participants