Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 368 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 368 Bytes

s6

示例

# syntax=docker/dockerfile:labs

FROM --platform=$TARGETPLATFORM alpine

RUN --mount=type=bind,from=khs1994/s6:3.1.4.2,source=/,target=/tmp/s6 \
    set -x \
#   && apt-get update && apt-get install -y xz-utils
    && tar -xvf /tmp/s6/s6-overlay-noarch.tar.xz -C /
    && tar -xvf /tmp/s6/s6-overlay.tar.xz -C /

ENTRYPOINT ["/s6-init"]