Skip to content

Commit 0c0fa54

Browse files
committed
Add pkg package to container image
1 parent 94044d6 commit 0c0fa54

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
FROM registry.access.redhat.com/ubi8/go-toolset:1.19.10-10 as builder
33

44
WORKDIR /workspace
5-
# Copy the Go Modules manifests
5+
# Copy the Go modules manifests
66
COPY go.mod go.mod
77
COPY go.sum go.sum
88
# cache deps before building and copying source so that we don't need to re-download as much
99
# and so that source changes don't invalidate our downloaded layer
1010
RUN go mod download
1111

12-
# Copy the go source
12+
# Copy the Go sources
1313
COPY main.go main.go
1414
COPY controllers/ controllers/
15+
COPY pkg/ pkg/
1516

1617
# Build
1718
USER root

0 commit comments

Comments
 (0)