k3s/test/images/serve_hostname
Mike Danese 3b6a067afc autogenerated 2016-10-21 17:32:32 -07:00
..
BUILD autogenerated 2016-10-21 17:32:32 -07:00
Dockerfile cross build test/images/serve_hostname and update README 2016-09-02 17:25:03 -04:00
Makefile Update `gcloud docker` commands to use `gcloud docker -- ARGS` 2016-10-10 13:42:34 -07:00
README.md address comments 2016-09-10 07:30:48 -04:00
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

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

Analytics

Analytics