Permalink
Switch branches/tags
Nothing to show
Find file Copy path
446923c Dec 5, 2018
1 contributor

Users who have contributed to this file

24 lines (15 sloc) 770 Bytes

Documentation for gcr.io/distroless/base and gcr.io/distroless/static

Image Contents

This image contains a minimal Linux, glibc-based system. It is intended for use directly by "mostly-statically compiled" languages like Go, Rust or D.

Statically compiled applications (Go) that do not require libc can use the gcr.io/distroless/static image, which contains:

  • ca-certificates
  • A /etc/passwd entry for a root user
  • A /tmp directory
  • tzdata

Most other applications (and Go apps that require libc/cgo) should start with gcr.io/distroless/base, which contains all of the packages in gcr.io/distroless/static, and

  • glibc
  • libssl
  • openssl

Usage

Users are expected to include their compiled application and set the correct cmd in their image.