FROM spritsail/debian-builder as builder
ARG BUSYBOX_VER=1.27.1
# Download and build busybox from source
RUN curl -fL https://busybox.net/downloads/busybox-${BUSYBOX_VER}.tar.bz2 \
| tar xj --strip-components=1 && \
# Use default configuration
make defconfig && \
make -j "$(nproc)" && \
...
#~~~~~~~~~~~~~~~~
FROM scratch
COPY --from=builder /tmp/busybox /
CMD ["/busybox", "sh"]
-
Notifications
You must be signed in to change notification settings - Fork 1
spritsail/debian-builder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Docker image based on debian:slim ideal for compiling binaries in multi-stage builds
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published