Debian Codegraph @

images/build-integration/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_integration
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-integration/entrypoint.sh /usr/local/bin/
13 COPY --from=builder /workspace/out /opt/crc/bin
14
15 ENV EPEL https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
16
17 RUN rpm -ivh ${EPEL} \
18 && microdnf --enablerepo=epel install -y openssh-clients sshpass \
19 && microdnf clean all
20
21 ENTRYPOINT ["entrypoint.sh"]