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
- Host: GitHub
- URL: https://github.com/cludden/go-docker-alpine
- Owner: cludden
- Created: 2017-08-17T14:51:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T14:51:39.000Z (almost 8 years ago)
- Last Synced: 2025-02-14T10:17:58.118Z (4 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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**