Debian Codegraph @

images/build-e2e/Dockerfile

raw
1 FROM registry.access.redhat.com/ubi8/go-toolset:1.20 AS builder
2
3 USER root
4 WORKDIR /workspace
5 COPY . .
6 RUN make build_e2e
7
8 FROM registry.access.redhat.com/ubi8/ubi-minimal
9
10 LABEL MAINTAINER "CRC <[email protected]>"
11
12 COPY --from=builder /workspace/images/build-e2e/entrypoint.sh /usr/local/bin/
13 COPY --from=builder /workspace/out /opt/crc/bin
14 # Review this when go 1.16 with embed support
15 COPY --from=builder /workspace/test/e2e/features /opt/crc/features
16 COPY --from=builder /workspace/test/testdata /opt/crc/testdata
17
18 ENV EPEL https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
19
20 RUN rpm -ivh ${EPEL} \
21 && microdnf --enablerepo=epel install -y openssh-clients sshpass \
22 && microdnf clean all
23
24 ENTRYPOINT ["entrypoint.sh"]