Skip to content

go-riscv/distroless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Distroless" Container Images.

"Distroless" images contain only your application and its runtime dependencies. They do not contain package managers, shells or any other programs you would expect to find in a standard Linux distribution.

For more information, see this talk (video).

RISC-V

Currently, riscv64 is not available in distroless upstream, so there is a fork with automated builds for riscv64 from Debian sid (unstable).

To use:

docker pull ghcr.io/go-riscv/distroless/static-unstable:latest

Images are build on every commit to main branch.

Building locally

First, install bazel and python2.

Then:

$ bazel run //base:static_root_riscv64_unstable
$ bazel run //base:static_nonroot_riscv64_unstable
$ docker images | grep bazel
bazel/base      static_nonroot_riscv64_unstable   8052bacdb8ac   53 years ago   2.06MB
bazel/base      static_root_riscv64_unstable      16bcf3ad365a   53 years ago   2.06MB