"Fossies" - the Fresh Open Source Software Archive

Member "istio-1.6.5/operator/docker/Dockerfile.operator" (8 Jul 2020, 837 Bytes) of package /linux/misc/istio-1.6.5.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Dockerfile.operator": 1.5.4_vs_1.6.0.

    1 # BASE_DISTRIBUTION is used to switch between the old base distribution and distroless base images
    2 ARG BASE_DISTRIBUTION=default
    3 
    4 # Version is the base image version from the TLD Makefile
    5 ARG BASE_VERSION=latest
    6 
    7 # The following section is used as base image if BASE_DISTRIBUTION=default
    8 FROM docker.io/istio/base:${BASE_VERSION} as default
    9 
   10 
   11 # The following section is used as base image if BASE_DISTRIBUTION=distroless
   12 FROM gcr.io/distroless/static@sha256:23aa732bba4c8618c0d97c26a72a32997363d591807b0d4c31b0bbc8a774bddf as distroless
   13 
   14 # This will build the final image based on either default or distroless from above
   15 # hadolint ignore=DL3006
   16 FROM ${BASE_DISTRIBUTION}
   17 
   18 # install operator binary
   19 COPY operator /usr/local/bin/
   20 
   21 # add operator manifests
   22 COPY manifests/ /var/lib/istio/manifests/
   23 
   24 ENTRYPOINT ["/usr/local/bin/operator"]