docker-golang-alpine/README.md

1.4 KiB

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 / 1.22
  • 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.