Skip to content

Commit

Permalink
bump default DOCKER ARG default golang version to 1.22.8
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <[email protected]>
  • Loading branch information
tariq1890 committed Oct 15, 2024
1 parent 38f7444 commit c0e8f11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deployments/container/Dockerfile.ubi9
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ RUN yum install -y \
&& \
rm -rf /var/cache/yum/*

ARG GOLANG_VERSION=1.22.2
ARG GOLANG_VERSION=1.22.8
RUN set -eux; \
\
arch="$(uname -m)"; \
case "${arch##*-}" in \
x86_64 | amd64) ARCH='amd64' ;; \
ppc64el | ppc64le) ARCH='ppc64le' ;; \
aarch64) ARCH='arm64' ;; \
aarch64 | arm64) ARCH='arm64' ;; \
*) echo "unsupported architecture" ; exit 1 ;; \
esac; \
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \
Expand Down
4 changes: 2 additions & 2 deletions deployments/container/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ RUN apt-get update && \
&& \
rm -rf /var/lib/apt/lists/*

ARG GOLANG_VERSION=1.22.2
ARG GOLANG_VERSION=1.22.8
RUN set -eux; \
\
arch="$(uname -m)"; \
case "${arch##*-}" in \
x86_64 | amd64) ARCH='amd64' ;; \
ppc64el | ppc64le) ARCH='ppc64le' ;; \
aarch64) ARCH='arm64' ;; \
aarch64 | arm64) ARCH='arm64' ;; \
*) echo "unsupported architecture" ; exit 1 ;; \
esac; \
wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \
Expand Down

0 comments on commit c0e8f11

Please sign in to comment.