istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/test/echo/docker/Dockerfile.app (about) 1 ARG BASE_VERSION=latest 2 ARG ISTIO_BASE_REGISTRY=gcr.io/istio-release 3 4 FROM ${ISTIO_BASE_REGISTRY}/base:${BASE_VERSION} 5 6 ARG TARGETARCH 7 COPY ${TARGETARCH:-amd64}/client /usr/local/bin/client 8 COPY ${TARGETARCH:-amd64}/server /usr/local/bin/server 9 COPY certs/cert.crt /cert.crt 10 COPY certs/cert.key /cert.key 11 12 # Add a user that will run the application. This allows running as this user and capture iptables 13 RUN useradd -m --uid 1338 application 14 USER 1338 15 16 ENTRYPOINT ["/usr/local/bin/server"]