Building a docker image for a Go programm

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • distroless

    🥑 Language focused docker images, minus the operating system.

  • Usually I recomend agains alpine images. They use muslc, that can be a real troublemaker at times. If you don't need any tooling, then distroless image is great. Otherwise debian-slim ticks everything for me. As usuall your milage may vary and you should choose solutions that suits you!

  • solar

    Collect data from SolarEdge API and post to InfluxDB (by jasonmf)

  • I regularly build "binary only" container images. Here's one that happens to build a tool I run on a raspberry pi: https://github.com/jasonmf/solar/tree/release/cmd/solar

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ko

    Build and deploy Go applications

  • Shameless plug for ko: https://github.com/google/ko

  • libuv

    Cross-platform asynchronous I/O

  • There are just enough differences between musl and glibc to be confusing, e.g. https://github.com/libuv/libuv/issues/2225

  • go-build-template

    A Makefile/Dockerfile example for Go projects.

  • I keep this as a demonstration of another approach: https://github.com/thockin/go-build-template

  • gcs-sftp-server

    SFTP Server with backing storage via Google Cloud Storage (GCS)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts