Skip to content

Conversation

lfrancke
Copy link
Member

@lfrancke lfrancke commented Sep 13, 2024

  • Also uses OpenContainer annotations as in our product images
  • Switches to a different user id for security reasons

Release Notes

  • The Dockerfiles for all our operators have changed to use a different user id ("782252253" used to be "1000")

- Also uses OpenContainer annotations as in our product images
- Switches to a different user id for security reasons
@lfrancke
Copy link
Member Author

Pre-commit is wrong. The generated Dockerfiles look good to me.

@razvan
Copy link
Member

razvan commented Sep 13, 2024

Pre-commit is wrong. The generated Dockerfiles look good to me.

It's the wrong hadolint version. It should be 2.12.0

@Techassi
Copy link
Member

Yes, I updated it in #435

@lfrancke lfrancke self-assigned this Sep 13, 2024
@lfrancke
Copy link
Member Author

Okay...this is ready for review again. The remaining hadolint warning is not a new one and occurs due to the Jinja syntax in the Dockerfile template

sbernauer
sbernauer previously approved these changes Sep 17, 2024
Copy link
Member

@sbernauer sbernauer left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@lfrancke
Copy link
Member Author

Thank you. I just need to resolve the conflicts.

# Conflicts:
#	template/docker/Dockerfile.j2
@lfrancke lfrancke added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit c9ed75c Sep 17, 2024
1 of 2 checks passed
@lfrancke lfrancke deleted the feat/docker-user branch September 17, 2024 14:20
@lfrancke
Copy link
Member Author

Unfortunately, this has a bug. It references an argument STACKABLE_USER_NAME that doesn't exist. I'll test and create a followup PR

lfrancke added a commit that referenced this pull request Sep 18, 2024
This fixes an issue introduced by a past PR (#432). It uses an argument that doesn't exist ("STACKABLE_USER_NAME").

In the course of diagnosing that I stumbled across a few inconsistencies with our "docker-images" Dockerfiles which I am addressing here as well.

- Updates the Helm version used (not caught by Renovate yet)
- Sets a build timeout for the build & package phase to two hours (down from the default of 6)
- Adds the dnf.conf file
- Adds convenience utilities
- Adds a few common aliases and a better prompt
github-merge-queue bot pushed a commit that referenced this pull request Sep 18, 2024
* Fix broken Dockerfile and minor improvements

This fixes an issue introduced by a past PR (#432). It uses an argument that doesn't exist ("STACKABLE_USER_NAME").

In the course of diagnosing that I stumbled across a few inconsistencies with our "docker-images" Dockerfiles which I am addressing here as well.

- Updates the Helm version used (not caught by Renovate yet)
- Sets a build timeout for the build & package phase to two hours (down from the default of 6)
- Adds the dnf.conf file
- Adds convenience utilities
- Adds a few common aliases and a better prompt

* Add a small README
@lfrancke lfrancke added release-note Denotes a PR that will be considered when it comes time to generate release notes. release/24.11.0 labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/24.11.0 release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants