Skip to content

Bump required go version in install.md #422

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TomSweeneyRedHat
Copy link
Member

This will replace #303. The changes were great, but our CI won't allow for merges until a PR is signed and we unfortunately could not get @asmarton to update their PR.

This adds those fixes.

This will replace containers#303.  The changes were great, but our CI won't allow
for merges until a PR is signed and we unfortunately could not get
@asmarton to update their PR.

This adds those fixes.

Signed-off-by: tomsweeneyredhat <[email protected]>
Copy link
Member

@lsm5 lsm5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nits.

The current minimum required version can always be found in the [go.mod](https://github.com/containers/podman/blob/main/go.mod) file.
If needed, golang kits are available at https://golang.org/dl/. Alternatively, go can be built from source as follows
If needed, Golang kits are available at https://golang.org/dl/. Alternatively, go can be built from source as follows
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If needed, Golang kits are available at https://golang.org/dl/. Alternatively, go can be built from source as follows
If needed, Go binary and source releases are available at https://golang.org/dl/. Alternatively, Go can be built from source as follows


Be careful to double-check that the version of golang is new enough (i.e. `go version`), as of January 2022 version is 1.16.x or higher is required.
Be careful to double-check that the version of Golang is new enough (i.e., `go version`). As of May 2024, version 1.21.x or higher is required.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Be careful to double-check that the version of Golang is new enough (i.e., `go version`). As of May 2024, version 1.21.x or higher is required.
Be careful to double-check that the version of Go is new enough (i.e., `go version`). As of May 2024, version 1.21.x or higher is required.

@@ -443,11 +443,11 @@ echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf
If any dependencies cannot be installed or are not sufficiently current, they have to be built from source.
This will mainly affect Debian, Ubuntu, and related distributions, or RHEL where no subscription is active (e.g. Cloud VMs).

#### golang
#### Golang
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Golang
#### Go

@@ -510,7 +510,7 @@ apt-get install -y \

### Get Source Code

First, ensure that the `go version` that is found first on the $PATH is 1.16.x or higher. Instruction [above](#golang) will help you compile newer version of Go if needed. Then we can build Podman:
First, ensure that the `go version` that is found first on the $PATH is 1.21.x or higher. Instruction [above](#golang) will help you compile newer version of Go if needed. Then we can build Podman:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think (#golang) would also have to change here based on how you handle line 446.

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.

2 participants