Skip to content

Commit

Permalink
Merge pull request #7045 from Checkmarx/update-go-version
Browse files Browse the repository at this point in the history
fix(goversion): update go version from 1.22.2 to 1.22.3
  • Loading branch information
gabriel-cx authored May 8, 2024
2 parents 61c6bd9 + d4ab41d commit 56ccd87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# it does not define an ENTRYPOINT as this is a requirement described here:
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops#linux-based-containers
#
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22.2-bookworm as build_env
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22.3-bookworm as build_env
# Create a group and user
RUN groupadd checkmarx && useradd -g checkmarx -M -s /bin/bash checkmarx
USER checkmarx
Expand Down
6 changes: 3 additions & 3 deletions docker/Dockerfile.ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ WORKDIR /build

ENV PATH=$PATH:/usr/local/go/bin

ADD https://golang.org/dl/go1.22.2.linux-amd64.tar.gz .
ADD https://golang.org/dl/go1.22.3.linux-amd64.tar.gz .
RUN yum install git gcc -y \
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz \
&& rm -f go1.22.2.linux-amd64.tar.gz
&& rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz \
&& rm -f go1.22.3.linux-amd64.tar.gz

ENV GOPRIVATE=github.com/Checkmarx/*
ARG VERSION="development"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/Checkmarx/kics

go 1.22.2
go 1.22.3

replace (
github.com/containerd/containerd => github.com/containerd/containerd v1.6.26
Expand Down

0 comments on commit 56ccd87

Please sign in to comment.