-
Notifications
You must be signed in to change notification settings - Fork 119
/
osde2e.Dockerfile
32 lines (27 loc) · 1.03 KB
/
osde2e.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.22 as builder
ENV GOFLAGS=
ENV PKG=/go/src/github.com/openshift/osde2e/
WORKDIR ${PKG}
COPY go.* .
RUN go mod download
COPY . .
RUN go env
RUN make build
FROM registry.redhat.io/rhel9-2-els/rhel:9.2
WORKDIR /
RUN mkdir /licenses
COPY --from=builder /go/src/github.com/openshift/osde2e/out/osde2e .
COPY --from=builder /go/src/github.com/openshift/osde2e/LICENSE /licenses/.
COPY --from=builder /usr/bin/git /usr/bin/git
COPY --from=builder /usr/libexec/git-core/* /usr/libexec/git-core/
COPY --from=builder /usr/share/git-core/* /usr/share/git-core/
ENV PATH="${PATH}:/"
ENTRYPOINT ["/osde2e"]
USER 65532:65532
LABEL name="osde2e"
LABEL description="A comprehensive test framework used for Service Delivery to test all aspects of Managed OpenShift Clusters"
LABEL summary="CLI tool to provision and test Managed OpenShift Clusters"
LABEL com.redhat.component="osde2e"
LABEL io.k8s.description="osde2e"
LABEL io.k8s.display-name="osde2e"
LABEL io.openshift.tags="data,images"