-
Notifications
You must be signed in to change notification settings - Fork 207
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
Do not pin invocation image to a specific debian release #2745
Conversation
Use stable instead of a specific debian release, so that when the release is archived, we don't end up with an unbuildable bundle. If a user wants to pin to a base image, they should use a custom Dockerfile. Porter should default to a release (stable) that will always work, so that porter doesn't need to be recompiled or a new version installed because a debian release was archived. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw the changes to docs that go from Go vsn. 11 (using the "11-stretch base Docker image) to 19. Do the vsn. 19 base images have tags that let you specify a base OS?
Anyway, LGTM. If there's anything to do there, it could be done in a follow-up.
@arschles We don't need a specific base distribution for those tutorials, so I'm not sure why that documentation ever pointed to go 1.11 stretch specifically, vs just the go version. Honestly I just updated them so that if someone did a google search, they wouldn't find stuff that absolutely doesn't work anymore (stretch). But the tutorials aren't used or linked to and are kind of just around in case we reboot doing workshops about porter at conferences. |
How about just using the latest base image then? |
Yes, learn from your mistakes Carolyn. Don't pin stuff that doesn't need to be pinned. 😅 Fixing... |
Update the Porter workshop images to use golang:latest so that we don't need to keep updating it when it works just fine with any version of Go. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
) * Do not pin invocation image to a specific debian release Use stable instead of a specific debian release, so that when the release is archived, we don't end up with an unbuildable bundle. If a user wants to pin to a base image, they should use a custom Dockerfile. Porter should default to a release (stable) that will always work, so that porter doesn't need to be recompiled or a new version installed because a debian release was archived. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> * Use golang:latest for our (defunct) developer workshop Update the Porter workshop images to use golang:latest so that we don't need to keep updating it when it works just fine with any version of Go. Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com> --------- Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
What does this change
Use stable instead of a specific debian release, so that when the release is archived, we don't end up with an unbuildable bundle. If a user wants to pin to a base image, they should use a custom Dockerfile. Porter should default to a release (stable) that will always work, so that porter doesn't need to be recompiled or a new version installed because a debian release was archived.
What issue does it fix
Fixes #2744
Notes for the reviewer
N/A
Checklist
Reviewer Checklist