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

Docker warning: Pin redis base image version to a release tag #180

Open
katsel opened this issue Jul 13, 2021 · 1 comment
Open

Docker warning: Pin redis base image version to a release tag #180

katsel opened this issue Jul 13, 2021 · 1 comment

Comments

@katsel
Copy link
Contributor

katsel commented Jul 13, 2021

While working on #179, I ran hadolint against all Dockerfiles.
Not much came up, and this warning looks like it's an easy fix against unpleasant surprises.

$ hadolint docker/redis/Dockerfile 
redis/Dockerfile:1 DL3007 warning: Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag
@indy-independence
Copy link
Member

I had a quick look at https://hub.docker.com/_/redis?tab=tags&page=1&ordering=last_updated and since I don't think we have any special requirements really we could probably go with "redis:6" or "redis:6.2"

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

No branches or pull requests

2 participants