From 5082865291cfe3c19e232068b597fa91bedd83e1 Mon Sep 17 00:00:00 2001 From: Nick Miyake Date: Mon, 21 May 2018 11:34:43 -0700 Subject: [PATCH] Update README.md --- README.md | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index d940caf..22a322c 100644 --- a/README.md +++ b/README.md @@ -3,30 +3,27 @@ go-docker-images Docker images for Go. -alpine-go-1.6, alpine-go-1.7.5, alpine-go-1.8.0 ------------------------------------------------ -Docker images based on `golang:-alpine` images that also have `bash`, `git` and `openssl` installed. +See https://hub.docker.com/r/nmiyake/go/tags/ for the latest published images. -alpine-go-1.7-1.8 ------------------ -A combination of the `golang:1.7-alpine` and `golang:1.8-alpine` images. The Go 1.7 directory is in `/usr/local/go-1.7` and the Go 1.8 directory is in `/usr/local/go-1.8`. The `GOROOT` is `/usr/local/go`, and `/usr/local/go` is a symlink to `/usr/local/go-1.8`. +alpine-go-{{LATEST_GO_VERSION}}-t{{tag#}}, alpine-go-{{PREVIOUS_GO_VERSION}}-t{{tag#}} +-------------------------------------------------------------------------------------- +Docker images based on `golang:-alpine` images that also have `bash`, `git` and `openssl` installed. -brew-go -------- -Docker image with Go installed using `brew` on Linux. Useful for testing that Go tools and programs behave properly on systems that have installed Go using `brew`. The Go installation in this contianer is similar to the installation that occurs for Go using `brew` on Darwin systems. +go-darwin-linux-{{LATEST_GO_VERSION}}-{{tag#}} +---------------------------------------------- +Docker image with the latest version of Go with the standard libraries for darwin and linux installed using `go install std`. -go-1.7-1.8 ----------- -A combination of the `golang:1.7` and `golang:1.8` images. The Go 1.7 directory is in `/usr/local/go-1.7` and the Go 1.8 directory is in `/usr/local/go-1.8`. The `GOROOT` is `/usr/local/go`, and `/usr/local/go` is a symlink to `/usr/local/go-1.8`. +go-darwin-linux-no-cgo-{{LATEST_GO_VERSION}}-{{tag#}} +----------------------------------------------------- +Docker image with the latest version of Go with the standard libraries for darwin and linux with CGo disabled installed using +`go install std`. -go-1.8-rpm-fpm --------------- -Docker image based on `golang:1.8` that also has `rpm` and `fpm` installed. The user creates a user called `gouser`. By default, this user is not used (the container is still run as `root` by default). However, the image contains a script called `/run-as-gouser.sh` that can be used to run the provided commands as `gouser`. The `USER_ID` environment variable can be used to set the UID of `gouser`. - -go-darwin-linux ---------------- -Uses the latest version of Go with the standard libraries for darwin and linux installed using `go install std`. +brew-go-t{{tag#}} +----------------- +Docker image with Go installed using `brew` on Linux. Useful for testing that Go tools and programs behave properly on systems +that have installed Go using `brew`. The Go installation in this contianer is similar to the installation that occurs for Go +using `brew` on Darwin systems. -go-darwin-linux-no-cgo ----------------------- -Uses the latest version of Go with the standard libraries for darwin and linux installed using `go install std` with `CGO_ENABLED=0`. +Other tags +---------- +Also publishes some variants of the above images that have certain binaries preinstalled.