UNCLASSIFIED

README.md 882 Bytes
Newer Older
sean.melissari's avatar
sean.melissari committed
1
# distroless/static
Matt Vasquez's avatar
Matt Vasquez committed
2

Matt Vasquez's avatar
Matt Vasquez committed
3 4 5 6
## 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.

sean.melissari's avatar
sean.melissari committed
7
Statically compiled applications (Go) that do not require libc can use the `distroless/static` image, which contains:
Matt Vasquez's avatar
Matt Vasquez committed
8 9 10 11 12 13

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

sean.melissari's avatar
sean.melissari committed
14 15
Most other applications (and Go apps that require libc/cgo) should start with [distroless/base](https://repo1.dsop.io/dsop/google/distroless/base), which contains all
of the packages in `distroless/static`, and 
Matt Vasquez's avatar
Matt Vasquez committed
16 17 18 19 20 21 22

* glibc
* libssl
* openssl

## Usage

sean.melissari's avatar
sean.melissari committed
23 24 25 26 27
Users are expected to include their compiled application and set the correct cmd in their image.

## Documentation

To learn more about Distroless go to the complete [documentation](https://github.com/GoogleContainerTools/distroless).