Skip to content

Commit

Permalink
Merge pull request #16 from varad-ahirwadkar/upgrade_container
Browse files Browse the repository at this point in the history
Upgrading container base image and go lang builder
  • Loading branch information
Power Cloud Robot authored Jun 27, 2024
2 parents 91337ec + 9cfccd4 commit 37b57a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.22 AS builder
FROM golang:1.22.4 AS builder
ARG TARGETOS
ARG TARGETARCH

Expand All @@ -23,7 +23,7 @@ COPY internal/controller/ internal/controller/
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o manager cmd/main.go

FROM ubi8:8.7-929
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
WORKDIR /
RUN mkdir /licenses
COPY LICENSE /licenses
Expand Down

0 comments on commit 37b57a9

Please sign in to comment.