...

Text file src/k8s.io/kubernetes/cluster/images/etcd/Dockerfile.windows

Documentation: k8s.io/kubernetes/cluster/images/etcd

     1# Copyright 2021 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
    15ARG RUNNERIMAGE
    16FROM ${RUNNERIMAGE}
    17
    18EXPOSE 2379 2380 4001 7001
    19
    20COPY etcd* etcdctl* /usr/local/bin/
    21COPY migrate-if-needed.bat /usr/local/bin/
    22COPY migrate /usr/local/bin/migrate.exe
    23
    24# NOTE(claudiub): docker buildx sets the PATH env variable to a Linux-like PATH,
    25# # which is not desirable. See: https://github.com/moby/buildkit/issues/1560
    26# # TODO(claudiub): remove this once the issue has been resolved.
    27ENV PATH="C:\usr\local\bin;C:\Windows\system32;C:\Windows;"

View as plain text