Skip to content

Commit

Permalink
NETOBSERV-1451: Bump ubi 9.3 / go 1.21 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
jotak authored Jan 15, 2024
1 parent 2864713 commit b326049
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ linters:
- unused
linters-settings:
stylecheck:
go: "1.20"
go: "1.21"
gocritic:
enabled-checks:
- hugeParam
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/performance/Dockerfile_packet_counter
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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

Expand Down

0 comments on commit b326049

Please sign in to comment.