44 lines
717 B
Docker
44 lines
717 B
Docker
|
FROM alpine AS mirror
|
||
|
|
||
|
RUN mkdir -p /out/etc/apk/ && \
|
||
|
cp /etc/apk/repositories /out/etc/apk/ && \
|
||
|
cp -r /etc/apk/keys /out/etc/apk/keys
|
||
|
|
||
|
RUN apk add --no-cache \
|
||
|
mdocml-apropos
|
||
|
|
||
|
RUN apk add --no-cache --initdb -p /out \
|
||
|
alpine-baselayout \
|
||
|
beep \
|
||
|
busybox \
|
||
|
ca-certificates \
|
||
|
curl \
|
||
|
curl-doc \
|
||
|
fbida-fbi \
|
||
|
fbida-doc \
|
||
|
htop \
|
||
|
htop-doc \
|
||
|
iproute2-doc \
|
||
|
man \
|
||
|
musl \
|
||
|
openssh-keygen \
|
||
|
poppler-utils \
|
||
|
ssmtp \
|
||
|
testdisk \
|
||
|
testdisk-doc \
|
||
|
tini \
|
||
|
util-linux \
|
||
|
util-linux-doc
|
||
|
|
||
|
RUN makewhatis /out/usr/share/man
|
||
|
|
||
|
RUN rm -rf /out/etc/inittab
|
||
|
|
||
|
|
||
|
FROM scratch
|
||
|
|
||
|
COPY --from=mirror /out/ /
|
||
|
COPY init /init
|
||
|
COPY etc/ /etc/
|
||
|
COPY lib/ /lib/
|