Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

The smallest Docker image with Go compiler (126MB)

Awesome Lists containing this project

README

        

[![Docker Stars](https://img.shields.io/docker/stars/frolvlad/alpine-go.svg?style=flat-square)](https://hub.docker.com/r/frolvlad/alpine-go/)
[![Docker Pulls](https://img.shields.io/docker/pulls/frolvlad/alpine-go.svg?style=flat-square)](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:

[![](https://images.microbadger.com/badges/image/frolvlad/alpine-go.svg)](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!