2021-06-20 07:56:32 +00:00
|
|
|
FROM alpine:3.14 AS builder
|
2018-02-16 06:56:01 +00:00
|
|
|
LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
2017-01-10 10:05:37 +00:00
|
|
|
|
2020-08-19 10:22:01 +00:00
|
|
|
ARG TARGETPLATFORM
|
|
|
|
|
2021-06-20 07:56:32 +00:00
|
|
|
ENV S6_OVERLAY_VERSION=v2.2.0.3
|
|
|
|
ENV SHA256_amd64=a7076cf205b331e9f8479bbb09d9df77dbb5cd8f7d12e9b74920902e0c16dd98
|
|
|
|
ENV SHA256_aarch64=84f585a100b610124bb80e441ef2dc2d68ac2c345fd393d75a6293e0951ccfc5
|
2020-08-19 10:22:01 +00:00
|
|
|
|
|
|
|
RUN apk --no-cache add \
|
|
|
|
bash
|
|
|
|
|
|
|
|
ADD fetch-platform-rootfs /
|
|
|
|
RUN ./fetch-platform-rootfs
|
|
|
|
RUN mkdir /overlay
|
|
|
|
RUN tar -xvf s6-overlay.tar.gz -C /overlay
|
|
|
|
|
2021-06-20 07:56:32 +00:00
|
|
|
FROM alpine:3.14
|
2020-08-19 10:22:01 +00:00
|
|
|
|
2019-02-05 08:33:47 +00:00
|
|
|
ENV LANG=en_US.UTF-8
|
2020-08-19 10:22:01 +00:00
|
|
|
|
|
|
|
COPY --from=builder /overlay /
|
|
|
|
|
|
|
|
RUN apk --no-cache add \
|
|
|
|
syslog-ng
|
2017-01-10 10:05:37 +00:00
|
|
|
|
2017-10-06 16:35:27 +00:00
|
|
|
RUN apk --no-cache upgrade
|
|
|
|
|
2017-02-15 13:51:29 +00:00
|
|
|
ADD /rootfs /
|
|
|
|
|
2017-01-10 10:05:37 +00:00
|
|
|
ENTRYPOINT ["/init"]
|