k3s/test/images/serve_hostname
Lucas Käldström 6b5d5371d9
Bump to go1.8.1 and remove the edge GOROOT
2017-04-25 23:45:47 +03:00
..
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
Dockerfile Remove all MAINTAINER statements in the codebase as they aren't very useful and now deprecated 2016-12-17 20:34:10 +02:00
Makefile Bump to go1.8.1 and remove the edge GOROOT 2017-04-25 23:45:47 +03:00
README.md PR-2 Making docker images availabe for s390x on gcr.io repository and enables s390x support to kube-dns , pause, addon-manager, etcd, hyperkube, kube-discovery modules 2016-12-09 14:38:02 +05:30
serve_hostname.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00

README.md

serve_hostname

This is a small util app to serve your hostname on TCP and/or UDP. Useful for testing.

The serve_hostname Makefile supports multiple architectures, which means it may cross-compile and build an docker image easily. Arch-specific busybox images serve as base images.

If you are releasing a new version, please bump the TAG value in the Makefile before building the images.

How to release:

# Build cross-platform binaries
$ make all-push

# Build for linux/amd64 (default)
$ make push ARCH=amd64
# ---> gcr.io/google_containers/serve_hostname-amd64:TAG

$ make push ARCH=arm
# ---> gcr.io/google_containers/serve_hostname-arm:TAG

$ make push ARCH=arm64
# ---> gcr.io/google_containers/serve_hostname-arm64:TAG

$ make push ARCH=ppc64le
# ---> gcr.io/google_containers/serve_hostname-ppc64le:TAG

$ make push ARCH=s390x
# ---> gcr.io/google_containers/serve_hostname-s390x:TAG

Of course, if you don't want to push the images, run make all-container or make container ARCH={target_arch} instead.

Analytics

Analytics