Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tasks:
Problem
internetee/ruby:3.2.2
was added, but the code that is specified in the Dockerfile is identical to what is in the base image. This is also why duplication errors occur.Solution
postgres-client
, now it's installed in the base image.internetee/ruby:3.2.2-refactor
. The 'refactor' suffix will be dropped when it's time to update the base image for a new Ruby version. I added 'refactor' so there's an option to switch to the old imageinternetee/ruby:3.2.2
and to make it clear which image is being used."What problems might be
How to test?
Why Not for merge?
I also noticed that the base images are subject to refactoring. Again, as a good practice, a separate user should be added so that operations in the docker are not performed as root. The version of postgresql and a number of other libraries should also be updated. Once the base images have been updated and we are satisfied that there are no problems, then we can merge the updated dockerfile into the branch.