prepare action migration
This commit is contained in:
parent
85f12c672b
commit
659febf3a5
@ -1,7 +1,9 @@
|
|||||||
FROM docker.io/alpine:3.18 AS builder
|
FROM docker.io/alpine:3.19 AS builder
|
||||||
LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
LABEL maintainer="Sebastian Hugentobler <sebastian@vanwa.ch>"
|
||||||
|
|
||||||
ENV S6_OVERLAY_VERSION=v3.1.5.0
|
ARG TARGET_ARCH=x86_64
|
||||||
|
|
||||||
|
ENV S6_OVERLAY_VERSION=v3.1.6.2
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
git \
|
git \
|
||||||
@ -14,10 +16,11 @@ 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 -j4
|
RUN make ARCH=$TARGET_ARCH-linux-musl -j4
|
||||||
|
RUN mv /src/output/rootfs-overlay-${TARGET_ARCH}-linux-musl /src/output/rootfs-overlay-arch
|
||||||
|
|
||||||
|
|
||||||
FROM docker.io/alpine:3.18
|
FROM docker.io/alpine:3.19
|
||||||
|
|
||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
ENV S6_KEEP_ENV=1
|
ENV S6_KEEP_ENV=1
|
||||||
@ -25,11 +28,11 @@ ENV PATH="$PATH:/command"
|
|||||||
ENV S6_GLOBAL_PATH="$PATH"
|
ENV S6_GLOBAL_PATH="$PATH"
|
||||||
|
|
||||||
COPY --from=builder /src/output/rootfs-overlay-noarch /
|
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-arch /
|
||||||
|
|
||||||
RUN apk --no-cache add \
|
RUN apk --no-cache add \
|
||||||
syslog-ng \
|
syslog-ng \
|
||||||
tzdata
|
tzdata
|
||||||
|
|
||||||
ENV TZ=Europe/Zurich
|
ENV TZ=Europe/Zurich
|
||||||
|
|
Loading…
Reference in New Issue
Block a user