"Fossies" - the Fresh Open Source Software Archive

Member "istio-1.6.5/mixer/docker/Dockerfile.mixer" (8 Jul 2020, 853 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.mixer": 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 USER 1337:1337
   11 
   12 # The following section is used as base image if BASE_DISTRIBUTION=distroless
   13 FROM gcr.io/distroless/static@sha256:23aa732bba4c8618c0d97c26a72a32997363d591807b0d4c31b0bbc8a774bddf as distroless
   14 WORKDIR /
   15 
   16 # This will build the final image based on either default or distroless from above
   17 # hadolint ignore=DL3006
   18 FROM ${BASE_DISTRIBUTION}
   19 
   20 COPY mixs /usr/local/bin/
   21 
   22 ENTRYPOINT ["/usr/local/bin/mixs", "server"]
   23 
   24 CMD ["--configStoreURL=fs:///etc/opt/mixer/configroot","--configStoreURL=k8s://"]