Skip to content

Commit a9ab22c

Browse files
committed
Bump s6 & add with-contenv from repo
1 parent 0a9f48b commit a9ab22c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN \
4040
/build
4141

4242
# set version for s6 overlay
43-
ARG S6_OVERLAY_VERSION="3.1.6.2"
43+
ARG S6_OVERLAY_VERSION="3.2.0.2"
4444
ARG S6_OVERLAY_ARCH="x86_64"
4545

4646
# add s6 overlay
@@ -51,7 +51,7 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz
5151

5252
# add s6 optional symlinks
5353
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz /tmp
54-
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz
54+
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz && unlink /root-out/usr/bin/with-contenv
5555
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz /tmp
5656
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
5757

@@ -63,12 +63,14 @@ ARG VERSION
6363
ARG MODS_VERSION="v3"
6464
ARG PKG_INST_VERSION="v1"
6565
ARG LSIOWN_VERSION="v1"
66+
ARG WITHCONTENV_VERSION="v1"
6667
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
6768
LABEL maintainer="TheLamer"
6869

6970
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
7071
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.${PKG_INST_VERSION}" "/etc/s6-overlay/s6-rc.d/init-mods-package-install/run"
7172
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.${LSIOWN_VERSION}" "/usr/bin/lsiown"
73+
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.${WITHCONTENV_VERSION}" "/usr/bin/with-contenv"
7274

7375
# set environment variables
7476
ARG DEBIAN_FRONTEND="noninteractive"

Dockerfile.aarch64

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN \
4040
/build
4141

4242
# set version for s6 overlay
43-
ARG S6_OVERLAY_VERSION="3.1.6.2"
43+
ARG S6_OVERLAY_VERSION="3.2.0.2"
4444
ARG S6_OVERLAY_ARCH="aarch64"
4545

4646
# add s6 overlay
@@ -51,7 +51,7 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz
5151

5252
# add s6 optional symlinks
5353
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz /tmp
54-
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz
54+
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz && unlink /root-out/usr/bin/with-contenv
5555
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz /tmp
5656
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
5757

@@ -63,12 +63,14 @@ ARG VERSION
6363
ARG MODS_VERSION="v3"
6464
ARG PKG_INST_VERSION="v1"
6565
ARG LSIOWN_VERSION="v1"
66+
ARG WITHCONTENV_VERSION="v1"
6667
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
6768
LABEL maintainer="TheLamer"
6869

6970
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
7071
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.${PKG_INST_VERSION}" "/etc/s6-overlay/s6-rc.d/init-mods-package-install/run"
7172
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.${LSIOWN_VERSION}" "/usr/bin/lsiown"
73+
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.${WITHCONTENV_VERSION}" "/usr/bin/with-contenv"
7274

7375
# set environment variables
7476
ARG DEBIAN_FRONTEND="noninteractive"

0 commit comments

Comments
 (0)