An open API service indexing awesome lists of open source software.

https://github.com/cludden/go-docker-alpine

Building minimal docker containers for go applications with alpine linux
https://github.com/cludden/go-docker-alpine

Last synced: 2 months ago
JSON representation

Building minimal docker containers for go applications with alpine linux

Awesome Lists containing this project

README

        

# go-docker-alpine
Building minimal docker containers for go applications. Original application code borrowed from this [post](https://blog.codeship.com/building-minimal-docker-containers-for-go-applications/), however this project uses [alpine](https://alpinelinux.org/) instead of `scratch`.

## Getting Started
Build the binary
```shell
$ docker run --rm -v "$PWD":/go/src/app -w /go/src/app golang:1.8-alpine go build
```

Build the container
```shell
$ docker build -t go-docker-apline .
$ docker run -it go-docker-alpine
```

## License
**UNLICENSED**