GoogleContainerTools / distroless

🥑 Language focused docker images, minus the operating system.
Apache License 2.0
18.85k stars 1.15k forks source link

Busybox Source Distribution #627

Open jheaff1 opened 3 years ago

jheaff1 commented 3 years ago

Hi,

May I ask how you handle the distribution of Busybox source code along with your debug containers (Busybox is licensed under GPL). I am using the distroless cc Debian 10 debug image as a base image for my application and I’m curious to know how Google handle licensing with Busybox; I would like to do something similar rather than reimplement the wheel

afbjorklund commented 1 year ago

It is not even compiled: https://github.com/GoogleContainerTools/distroless/blob/main/busybox_archives.bzl

But see https://github.com/docker-library/busybox/blob/master/stable/musl/Dockerfile.builder for the details.

Note that some architectures come from a different place (i.e. upstream)

https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/