Skip to content

Dockerfile: Use unversioned golang:alpine image#37

Open
cfergeau wants to merge 1 commit intotommy-muehle:masterfrom
cfergeau:dockerfile
Open

Dockerfile: Use unversioned golang:alpine image#37
cfergeau wants to merge 1 commit intotommy-muehle:masterfrom
cfergeau:dockerfile

Conversation

@cfergeau
Copy link
Copy Markdown

The Dockerfile hardcodes the use of golang:1.16-alpine.

Both golang 1.16 and the alpine version used in this image are
unmaintained at this point, with most likely some known unfixed security
issues.

This PR switches to an unversioned golang/alpine image, which should
ensure we always use an up-to-date image.
We can switch back to a versioned image if this causes issues and it
turns out we need more predictability on the golang version used.

The Dockerfile hardcodes the use of golang:1.16-alpine.

Both golang 1.16 and the alpine version used in this image are
unmaintained at this point, with most likely some known unfixed security
issues.

This PR switches to an unversioned golang/alpine image, which should
ensure we always use an up-to-date image.
We can switch back to a versioned image if this causes issues and it
turns out we need more predictability on the golang version used.

Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
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.

1 participant