Skip to content

[27.x backport] rpm: fix missing GOTOOLCHAIN=local in centos, rhel Dockerfiles#1063

Merged
vvoland merged 1 commit intodocker:27.xfrom
thaJeztah:27.x_backport_fix_gotoolchain_env
Sep 4, 2024
Merged

[27.x backport] rpm: fix missing GOTOOLCHAIN=local in centos, rhel Dockerfiles#1063
vvoland merged 1 commit intodocker:27.xfrom
thaJeztah:27.x_backport_fix_gotoolchain_env

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

Commit a4090a0 added GOTOOLCHAIN=local, but for some reason missed the centos Dockerfiles.

The env-var is set to make sure we don't get unexpected updates of the go toolchain when building. We need to set this env-var, because we're not using the official golang image as base-image, but instead copy the binaries into a distro-image.

This patch adds the missing GOTOOLCHAIN env-vars.

(cherry picked from commit dc175c0)

Commit a4090a0 added GOTOOLCHAIN=local,
but for some reason missed the centos Dockerfiles.

The env-var is set to make sure we don't get unexpected updates of the go
toolchain when building. We need to set this env-var, because we're not using
the official golang image as base-image, but instead copy the binaries into
a distro-image.

This patch adds the missing GOTOOLCHAIN env-vars.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit dc175c0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah self-assigned this Sep 4, 2024
@thaJeztah thaJeztah requested a review from vvoland September 4, 2024 11:24
@vvoland vvoland merged commit 0655a23 into docker:27.x Sep 4, 2024
@thaJeztah thaJeztah deleted the 27.x_backport_fix_gotoolchain_env branch September 4, 2024 11:34
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