Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
0282ba55
Commit
0282ba55
authored
Aug 14, 2015
by
Mike Danese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete unused image hello-kubernetes
parent
eed655a6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
55 deletions
+0
-55
Dockerfile
build/hello-kubernetes/Dockerfile
+0
-4
hello.go
build/hello-kubernetes/hello.go
+0
-31
prepare.sh
build/hello-kubernetes/prepare.sh
+0
-20
No files found.
build/hello-kubernetes/Dockerfile
deleted
100644 → 0
View file @
eed655a6
FROM
scratch
ADD
hello /
EXPOSE
8080
ENTRYPOINT
["/hello"]
build/hello-kubernetes/hello.go
deleted
100644 → 0
View file @
eed655a6
/*
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
())
}
}
build/hello-kubernetes/prepare.sh
deleted
100755 → 0
View file @
eed655a6
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment