Skip to content

mount s6, build your s6 docker image

Notifications You must be signed in to change notification settings

khs1994-docker/s6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"]