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

OpenTofu 1.10: Disable usage of ghcr.io image as a base image #1994

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

abstractionfactory
Copy link
Contributor

@abstractionfactory abstractionfactory commented Sep 17, 2024

This PR is the follow-up for #1993 in OpenTofu 1.10 that disables the use of ghcr.io/opentofu/opentofu as a base image.

The reason behind this change, as discussed in #1931, is security. For a secure base image, we would need to re-release this image at least every week, applying package upgrades, which we currently don't have the capacity to do. We are providing instructions in the OpenTofu documentation how to build an OpenTofu base image.

Note

The OpenTofu image is safe to use if you are using it as a CLI tool. We are releasing a new image whenever there is a security update to OpenTofu itself, but we cannot guarantee that all packages (not used by OpenTofu) are up to date in this image at all times.

⚠ Do not merge until the 1.9 branch has been created!

Resolves #1931

Target Release

1.10.0

Checklist

  • I have read the contribution guide.
  • I have not used an AI coding assistant to create this PR.
  • I have written all code in this PR myself OR I have marked all code I have not written myself (including modified code, e.g. copied from other places and then modified) with a comment indicating where it came from.
  • I (and other contributors to this PR) have not looked at the Terraform source code while implementing this PR.

Signed-off-by: Janos <179820029+abstractionfactory@users.noreply.github.com>
Signed-off-by: Janos <179820029+abstractionfactory@users.noreply.github.com>
@abstractionfactory abstractionfactory added this to the 1.10.0 milestone Sep 17, 2024
Copy link

Reminder for the PR assignee: If this is a user-visible change, please update the changelog as part of the PR.

@abstractionfactory abstractionfactory added accepted This issue has been accepted for implementation. blocked Issues which are blocked by inbound dependencies labels Sep 17, 2024
@cam72cam cam72cam changed the title OpenTofu 1.10: Disable base image OpenTofu 1.10: Disable usage of ghcr.io image as a base image Sep 17, 2024
Base automatically changed from deprecate-base-image to main September 17, 2024 14:07
Signed-off-by: abstractionfactory <179820029+abstractionfactory@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This issue has been accepted for implementation. blocked Issues which are blocked by inbound dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant