Skip to content

discolix/discolix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discolix

Distroless docker images for popular ARM platforms based on the GoogleContainerTools/distroless project.

Overview

Discolix is a "distroless" language focused docker image project supporting image bundles for the linux_arm, linux_arm64 and linux_amd64 platforms, where the linux_amd64 image is capable of serving as a drop-in replacement for its upstream variant (if one exists), and with the additional goal of providing a foundation for "multi-arch" development using docker.

A Quick Note on System Dependencies

Image system dependencies are not compiled from source as part of this project's build. Instead, images are constructed using Debian 10 system binary packages (from the official repos) wherever possible. These packages are sometimes modified at build-time to remove unused components or to assemble required components normally generated by install-time scripts. Refer to the source of individual image types for more information on utilized packages.

Docker Images

Hosted on DockerHub: https://hub.docker.com/u/discolix

Image Types

  • static
  • base
  • cc
  • python

Manifest Lists

discolix/[image_type]:latest

The main root user image

Image OS Arch
discolix/[image_type]:latest-linux_arm linux arm
discolix/[image_type]:latest-linux_arm64 linux arm64
discolix/[image_type]:latest-linux_amd64 linux amd64

discolix/[image_type]:debug

Same as latest, but with busybox installed at /busybox (example: /busybox/sh). Also /busybox added to $PATH

Image OS Arch
discolix/[image_type]:debug-linux_arm linux arm
discolix/[image_type]:debug-linux_arm64 linux arm64
discolix/[image_type]:debug-linux_amd64 linux amd64

discolix/[image_type]:nonroot

Includes /etc/password entry for nonroot user

Image OS Arch
discolix/[image_type]:debug-linux_arm linux arm
discolix/[image_type]:debug-linux_arm64 linux arm64
discolix/[image_type]:debug-linux_amd64 linux amd64

discolix/[image_type]:debug-nonroot

like debug, but with the addition of the nonroot user

Image OS Arch
discolix/[image_type]:debug-nonroot-linux_arm linux arm
discolix/[image_type]:debug-nonroot-linux_arm64 linux arm64
discolix/[image_type]:debug-nonroot-linux_amd64 linux amd64

Bazel Example

This project came about, in part, to support another open source project I maintain which can serve as an example on how to use these images with the bazel docker toolchain: emacski/tensorflow-serving-arm