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
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ linters: ...@@ -18,7 +18,7 @@ linters:
- unused - unused
linters-settings: linters-settings:
stylecheck: stylecheck:
go: "1.20" go: "1.21"
gocritic: gocritic:
enabled-checks: enabled-checks:
- hugeParam - hugeParam
......
...@@ -4,7 +4,7 @@ ARG BUILDPLATFORM=linux/amd64 ...@@ -4,7 +4,7 @@ ARG BUILDPLATFORM=linux/amd64
ARG TARGETARCH=amd64 ARG TARGETARCH=amd64
# Build the manager binary # 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 TARGETARCH
ARG TARGETPLATFORM ARG TARGETPLATFORM
...@@ -27,7 +27,7 @@ COPY .mk/ .mk/ ...@@ -27,7 +27,7 @@ COPY .mk/ .mk/
RUN GOARCH=$TARGETARCH make compile RUN GOARCH=$TARGETARCH make compile
# Create final image from minimal + built binary # 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 / WORKDIR /
COPY --from=builder /opt/app-root/bin/netobserv-ebpf-agent . COPY --from=builder /opt/app-root/bin/netobserv-ebpf-agent .
USER 65532:65532 USER 65532:65532
......
# this file has to be built from the project root directory # 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 WORKDIR /app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment