Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nmiyake authored May 21, 2018
1 parent 36a9422 commit 5082865
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:<version>-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:<version>-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.

0 comments on commit 5082865

Please sign in to comment.