Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Alpine Golang

Alpine Golang is a docker image based in Alpine linux using a Dockerfile
similar to google/golang
and based on kiasaki/docker-alpine-golang.

This image is based on alpine:3.2 image.


  • GOROOT is set to /goroot
  • GOPATH is set to /gopath


Create a Dockerfile in your Go application directory with the following content:

FROM caarlos0/alpine-go

WORKDIR /gopath/src/app
ADD . /gopath/src/app/
RUN go get app

CMD []
ENTRYPOINT ["/gopath/bin/app"]

Then you can run the following command in your application directory:

docker build -t my/app .
Docker Pull Command
Source Repository