mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-11 17:09:12 +00:00
This patch adds instructions for how to run the in-cluster client-go example. To make this example executable, providing a Dockerfile and build steps so that it can directly be run on minikube. This is part of the body of work improving the client library samples. Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com> Kubernetes-commit: 8604ed6d9906ebfb33206b55467db41c87e9f148
18 lines
632 B
Docker
18 lines
632 B
Docker
# Copyright 2017 The Kubernetes Authors.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
FROM debian
|
|
COPY ./app /app
|
|
ENTRYPOINT /app
|