From 0282ba55be9692d44ae5b73316f2015e334adfc7 Mon Sep 17 00:00:00 2001 From: Mike Danese Date: Fri, 14 Aug 2015 13:18:30 -0700 Subject: [PATCH] delete unused image hello-kubernetes --- build/hello-kubernetes/Dockerfile | 4 ---- build/hello-kubernetes/hello.go | 31 ------------------------------- build/hello-kubernetes/prepare.sh | 20 -------------------- 3 files changed, 55 deletions(-) delete mode 100644 build/hello-kubernetes/Dockerfile delete mode 100644 build/hello-kubernetes/hello.go delete mode 100755 build/hello-kubernetes/prepare.sh diff --git a/build/hello-kubernetes/Dockerfile b/build/hello-kubernetes/Dockerfile deleted file mode 100644 index 2f554a05be9..00000000000 --- a/build/hello-kubernetes/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM scratch -ADD hello / -EXPOSE 8080 -ENTRYPOINT ["/hello"] diff --git a/build/hello-kubernetes/hello.go b/build/hello-kubernetes/hello.go deleted file mode 100644 index 897c5fc48eb..00000000000 --- a/build/hello-kubernetes/hello.go +++ /dev/null @@ -1,31 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors All rights reserved. - -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. -*/ - -package main - -import ( - "fmt" - "net/http" -) - -func main() { - http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { - fmt.Fprintln(w, "Hello World! -- Kubernetes") - }) - if err := http.ListenAndServe(":8080", nil); err != nil { - panic("ListenAndServe: " + err.Error()) - } -} diff --git a/build/hello-kubernetes/prepare.sh b/build/hello-kubernetes/prepare.sh deleted file mode 100755 index e43a95643a7..00000000000 --- a/build/hello-kubernetes/prepare.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Copyright 2014 The Kubernetes Authors All rights reserved. -# -# 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. - -set -e -set -x - -CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-extldflags "-static" -s' hello.go