Skip to content

Commit

Permalink
Update go version requirement to 1.21.x in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brown121407 committed May 6, 2024
1 parent c20fe14 commit bf26e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ This will mainly affect Debian, Ubuntu, and related distributions, or RHEL where

#### golang

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 is 1.21.x or higher is required.
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
(it's helpful to leave the system-go installed, to avoid having to [bootstrap go](https://golang.org/doc/install/source):
Expand Down Expand Up @@ -522,7 +522,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:

```bash
git clone https://github.com/containers/podman/
Expand Down

0 comments on commit bf26e4f

Please sign in to comment.