https://github.com/docker-hub-frolvlad/docker-alpine-go
The smallest Docker image with Go compiler (126MB)
https://github.com/docker-hub-frolvlad/docker-alpine-go
alpine docker-image go golang
Last synced: 3 months ago
JSON representation
The smallest Docker image with Go compiler (126MB)
- Host: GitHub
- URL: https://github.com/docker-hub-frolvlad/docker-alpine-go
- Owner: Docker-Hub-frolvlad
- License: mit
- Created: 2015-04-15T19:27:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T21:58:09.000Z (over 2 years ago)
- Last Synced: 2024-04-20T20:54:26.547Z (about 1 year ago)
- Topics: alpine, docker-image, go, golang
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/frolvlad/alpine-go/
- Size: 3.91 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/frolvlad/alpine-go/)
[](https://hub.docker.com/r/frolvlad/alpine-go/)Go Docker image
===============This image is based on Alpine Linux image, which is only a 5MB image, and contains
[Go](http://golang.org/).Download size of this image is only:
[](http://microbadger.com/images/frolvlad/alpine-go "Get your own image badge on microbadger.com")
Usage Example
-------------```bash
$ echo -e 'package main; import "fmt"; func main() { fmt.Println("Hello World") }' > qq.go
$ docker run --rm -v `pwd`:/tmp frolvlad/alpine-go go run /tmp/qq.go
```Once you have run this command you will get printed 'Hello World' from Go!