"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.25.4/build/pause/Dockerfile_windows" (9 Nov 2022, 1013 Bytes) of package /linux/misc/kubernetes-1.25.4.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.

    1 # Copyright 2020 The Kubernetes Authors.
    2 #
    3 # Licensed under the Apache License, Version 2.0 (the "License");
    4 # you may not use this file except in compliance with the License.
    5 # You may obtain a copy of the License at
    6 #
    7 #     http://www.apache.org/licenses/LICENSE-2.0
    8 #
    9 # Unless required by applicable law or agreed to in writing, software
   10 # distributed under the License is distributed on an "AS IS" BASIS,
   11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   12 # See the License for the specific language governing permissions and
   13 # limitations under the License.
   14 
   15 ARG BASE
   16 FROM ${BASE}
   17 ARG ARCH
   18 ADD bin/pause-windows-${ARCH}.exe /pause.exe
   19 ADD bin/wincat-windows-amd64 /Windows/System32/wincat.exe
   20 
   21 # NOTE(claudiub): docker buildx sets the PATH env variable to a Linux-like PATH,
   22 # which is not desirable. See: https://github.com/moby/buildkit/issues/1560
   23 # TODO(claudiub): remove this once the issue has been resolved.
   24 ENV PATH="C:\Windows\system32;C:\Windows;"
   25 ENTRYPOINT ["/pause.exe"]