# Building Small Go Applications in Docker Containers

DevFeed: [Building Small Go Applications in Docker Containers](<https://devfeed.tech/articles/small-go-apps-containers-37843.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/small-go-apps-containers/>)

Author: Carlos Alexandro Becker

Published: 2015-07-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Containers](<https://devfeed.tech/topics/containers.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Dockerfile](<https://devfeed.tech/topics/dockerfile.md>), [Code](<https://devfeed.tech/topics/code.md>), [Development](<https://devfeed.tech/topics/development.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [containers](<https://devfeed.tech/tags/containers.md>), [docker](<https://devfeed.tech/tags/docker.md>), [go](<https://devfeed.tech/tags/go.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>)

## AI overview

A tutorial on packaging Go applications in small Docker containers. It explains how build layers retain compilation dependencies and presents a single-step approach that reduces an example image from about 220.5MB to 11.43MB.

## Source excerpt

Or: how to ship your app in a <20Mb container.