Skip to content

Commit

Permalink
ci: attempt to bump golang from 1.19 to 1.23 in testing images
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Feb 7, 2025
1 parent dc7e1df commit 482410f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions continuous_integration/docker/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
FROM centos:7

ARG python_version="3.11"
ARG go_version="1.19"
# go_version was 1.19 until it was updated to 1.23.6 (2025-02-07) by adding a
# layer on top of the previous image, as it is no longer able to build and it
# was an easy way to update the golang version.
ARG go_version="1.23.6"

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
Expand Down Expand Up @@ -66,7 +69,7 @@ RUN yum install -y bzip2 \
&& rm -rf /var/cache/yum

# Install go
RUN curl -sL https://dl.google.com/go/go${go_version}.linux-amd64.tar.gz \
RUN curl -sL https://go.dev/dl/go${go_version}.linux-amd64.tar.gz \
| tar --extract --verbose --gzip --directory=/opt/

# Put Python and Go environments on PATH
Expand Down

0 comments on commit 482410f

Please sign in to comment.