ARO-RP/Dockerfile.proxy

18 строки
400 B
Docker
Исходник Обычный вид История

2023-03-15 02:29:57 +03:00
# Uses a multi-stage container build to build the proxy
#
ARG REGISTRY
2024-04-29 03:27:53 +03:00
FROM ${REGISTRY}/ubi8/go-toolset:1.20.12-5 AS builder
2023-03-15 02:29:57 +03:00
USER root
ENV GOPATH=/root/go
RUN mkdir -p /app
WORKDIR /app
2023-03-15 02:49:10 +03:00
RUN make proxy
2023-03-15 02:29:57 +03:00
FROM ${REGISTRY}/ubi8/ubi-minimal
2020-01-11 01:53:38 +03:00
RUN microdnf update && microdnf clean all
2023-03-15 02:29:57 +03:00
COPY --from=builder /go/src/github.com/Azure/ARO-RP/proxy /usr/local/bin/
2019-12-29 17:49:38 +03:00
ENTRYPOINT ["proxy"]
2019-11-18 09:55:32 +03:00
EXPOSE 8443/tcp
2019-11-18 09:24:26 +03:00
USER 1000