Skip to content

Commit 2898281

Browse files
authored
Konflux main (#113)
Signed-off-by: Roke Jung <[email protected]>
1 parent ad19aa2 commit 2898281

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile.rhtap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Build the manager binary
2+
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.20 as builder
3+
4+
WORKDIR /workspace
5+
COPY . .
6+
# Build
7+
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -o manager main.go
8+
9+
FROM registry.redhat.io/rhel9-2-els/rhel:9.2
10+
WORKDIR /
11+
COPY --from=builder /workspace/manager .
12+
USER 65532:65532
13+
14+
ENTRYPOINT ["/manager"]
15+
16+
ARG QUAY_TAG_EXPIRATION
17+
LABEL "quay.expires-after"=${QUAY_TAG_EXPIRATION}

0 commit comments

Comments
 (0)