push to alpine 3.17

This commit is contained in:
Sebastian Hugentobler 2022-11-23 13:24:47 +01:00
parent 9639d941fd
commit c6bc4f37e5
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,7 +1,7 @@
FROM docker.io/alpine:3.16 AS builder FROM docker.io/alpine:3.17 AS builder
LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>" LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
ENV S6_OVERLAY_VERSION=v3.1.1.2 ENV S6_OVERLAY_VERSION=v3.1.2.1
RUN apk --no-cache add \ RUN apk --no-cache add \
git \ git \
@ -14,10 +14,10 @@ RUN git clone https://github.com/just-containers/s6-overlay.git /src
WORKDIR /src WORKDIR /src
RUN git checkout "$S6_OVERLAY_VERSION" RUN git checkout "$S6_OVERLAY_VERSION"
RUN make ARCH=x86_64-linux-musl RUN make ARCH=x86_64-linux-musl -j4
FROM docker.io/alpine:3.16 FROM docker.io/alpine:3.17
ENV LANG=en_US.UTF-8 ENV LANG=en_US.UTF-8
ENV S6_KEEP_ENV=1 ENV S6_KEEP_ENV=1
@ -28,7 +28,10 @@ COPY --from=builder /src/output/rootfs-overlay-noarch /
COPY --from=builder /src/output/rootfs-overlay-x86_64-linux-musl / COPY --from=builder /src/output/rootfs-overlay-x86_64-linux-musl /
RUN apk --no-cache add \ RUN apk --no-cache add \
syslog-ng syslog-ng \
tzdata
ENV TZ=Europe/Zurich
RUN apk --no-cache upgrade --ignore alpine-baselayout RUN apk --no-cache upgrade --ignore alpine-baselayout