Skip to content

Commit

Permalink
Update Dockerfile.konflux
Browse files Browse the repository at this point in the history
  • Loading branch information
dchourasia authored and openshift-merge-bot[bot] committed Oct 15, 2024
1 parent 7f3aac1 commit c211487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfiles/Dockerfile.konflux
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WORKDIR /opt
COPY opt/manifests/ /opt/manifests/
COPY prefetched-manifests/ /opt/manifests/

WORKDIR /workspace
# Copy the Go Modules manifests
COPY go.mod go.mod
COPY go.sum go.sum
Expand All @@ -32,7 +33,7 @@ COPY config/osd-configs/ /opt/manifests/osd-configs/
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go

################################################################################
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:d531ff26bffe832391600e8137f01b9d09a712c721ebe966b98d647bd91bc261
WORKDIR /
COPY --from=builder /workspace/manager .
COPY --chown=1001:0 --from=builder /opt/manifests /opt/manifests
Expand Down

0 comments on commit c211487

Please sign in to comment.