Slide 18
Slide 18 text
scratchイメージにシェル(sh)を追加する
シェルにbusyboxを使用
FROM scratch
# Copy busybox static binary from busybox image
COPY --from=busybox:1.31.0-uclibc /bin/busybox /bin/busybox
# Install busybox
RUN ["/bin/busybox", "--install", "/bin"]
# Set the entrypoint to sh
ENTRYPOINT ["/bin/sh"]
busyboxを追加するようにカスタマイズしたContainerfile