Skip to content
Snippets Groups Projects
Unverified Commit b326049d authored by Joel Takvorian's avatar Joel Takvorian Committed by GitHub
Browse files

NETOBSERV-1451: Bump ubi 9.3 / go 1.21 (#247)

parent 28647138
Branches
Tags
No related merge requests found
......@@ -18,7 +18,7 @@ linters:
- unused
linters-settings:
stylecheck:
go: "1.20"
go: "1.21"
gocritic:
enabled-checks:
- hugeParam
......
......@@ -4,7 +4,7 @@ ARG BUILDPLATFORM=linux/amd64
ARG TARGETARCH=amd64
# Build the manager binary
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.20 as builder
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21 as builder
ARG TARGETARCH
ARG TARGETPLATFORM
......@@ -27,7 +27,7 @@ COPY .mk/ .mk/
RUN GOARCH=$TARGETARCH make compile
# Create final image from minimal + built binary
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:9.2
FROM --platform=$TARGETPLATFORM registry.access.redhat.com/ubi9/ubi-minimal:9.3
WORKDIR /
COPY --from=builder /opt/app-root/bin/netobserv-ebpf-agent .
USER 65532:65532
......
# this file has to be built from the project root directory
FROM golang:1.20 as builder
FROM golang:1.21 as builder
WORKDIR /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment