/docker-golang-alpine

Go with dumb-init and some other useful packages

Primary LanguageDockerfileMIT LicenseMIT

Golang Alpine with additional packages

Docker Automated build buildx Status Lint Dockerfiles

A minimal Dockerfile based on Go 1.16, 1.17, 1.18, 1.19, 1.20, 1.21 and alpine with dumb-init and some other useful packages.

What's included

  • Go 1.16 / 1.17 / 1.18 / 1.19 / 1.20 / 1.21
  • images with patched musl to disable faccessat2 syscall (workaround for CI systems with docker & seccomp filter bug, see this)
  • bash
  • make
  • git
  • gcc
  • libc-dev
  • jq
  • curl
  • air
  • delve
  • gocov
  • merge-junit
  • gotestsum
  • go-junit-report
  • dumb-init

Available platforms

These Dockerfiles leverage the new buildx functionality and offer the following platforms:

  • linux/amd64
  • linux/386
  • linux/arm64

Based on solution built by (c) Tim Brust and contributors. Released under the MIT license.