Skip to content

Commit 21ae5ba

Browse files
authored
Merge pull request #2 from linuxserver/master-s6bump
2 parents 7550804 + a840bfd commit 21ae5ba

File tree

3 files changed

+26
-60
lines changed

3 files changed

+26
-60
lines changed

Dockerfile

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN \
2727
/root-out/var/log/*
2828

2929
# set version for s6 overlay
30-
ARG S6_OVERLAY_VERSION="3.1.2.1"
30+
ARG S6_OVERLAY_VERSION="3.1.5.0"
3131
ARG S6_OVERLAY_ARCH="x86_64"
3232

3333
# add s6 overlay
@@ -48,20 +48,24 @@ COPY --from=rootfs-stage /root-out/ /
4848
ARG BUILD_DATE
4949
ARG VERSION
5050
ARG MODS_VERSION="v3"
51+
ARG PKG_INST_VERSION="v1"
5152
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5253
LABEL maintainer="TheLamer"
5354

5455
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
56+
ADD --chmod=744 "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"
5557

5658
# set environment variables
5759
ARG DEBIAN_FRONTEND="noninteractive"
5860
ENV HOME="/root" \
59-
LANGUAGE="en_US.UTF-8" \
60-
LANG="en_US.UTF-8" \
61-
TERM="xterm" \
62-
S6_CMD_WAIT_FOR_SERVICES_MAXTIME="0" \
63-
S6_VERBOSITY=1 \
64-
S6_STAGE2_HOOK=/docker-mods
61+
LANGUAGE="en_US.UTF-8" \
62+
LANG="en_US.UTF-8" \
63+
TERM="xterm" \
64+
S6_CMD_WAIT_FOR_SERVICES_MAXTIME="0" \
65+
S6_VERBOSITY=1 \
66+
S6_STAGE2_HOOK=/docker-mods \
67+
VIRTUAL_ENV=/lsiopy \
68+
PATH="/lsiopy/bin:$PATH"
6569

6670
RUN \
6771
echo "**** Ripped from Ubuntu Docker Logic ****" && \
@@ -124,7 +128,8 @@ RUN \
124128
mkdir -p \
125129
/app \
126130
/config \
127-
/defaults && \
131+
/defaults \
132+
/lsiopy && \
128133
echo "**** cleanup ****" && \
129134
apt-get -y autoremove && \
130135
apt-get clean && \

Dockerfile.aarch64

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN \
2727
/root-out/var/log/*
2828

2929
# set version for s6 overlay
30-
ARG S6_OVERLAY_VERSION="3.1.2.1"
30+
ARG S6_OVERLAY_VERSION="3.1.5.0"
3131
ARG S6_OVERLAY_ARCH="aarch64"
3232

3333
# add s6 overlay
@@ -48,20 +48,24 @@ COPY --from=rootfs-stage /root-out/ /
4848
ARG BUILD_DATE
4949
ARG VERSION
5050
ARG MODS_VERSION="v3"
51+
ARG PKG_INST_VERSION="v1"
5152
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5253
LABEL maintainer="TheLamer"
5354

5455
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
56+
ADD --chmod=744 "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"
5557

5658
# set environment variables
5759
ARG DEBIAN_FRONTEND="noninteractive"
5860
ENV HOME="/root" \
59-
LANGUAGE="en_US.UTF-8" \
60-
LANG="en_US.UTF-8" \
61-
TERM="xterm" \
62-
S6_CMD_WAIT_FOR_SERVICES_MAXTIME="0" \
63-
S6_VERBOSITY=1 \
64-
S6_STAGE2_HOOK=/docker-mods
61+
LANGUAGE="en_US.UTF-8" \
62+
LANG="en_US.UTF-8" \
63+
TERM="xterm" \
64+
S6_CMD_WAIT_FOR_SERVICES_MAXTIME="0" \
65+
S6_VERBOSITY=1 \
66+
S6_STAGE2_HOOK=/docker-mods \
67+
VIRTUAL_ENV=/lsiopy \
68+
PATH="/lsiopy/bin:$PATH"
6569

6670
RUN \
6771
echo "**** Ripped from Ubuntu Docker Logic ****" && \
@@ -124,7 +128,8 @@ RUN \
124128
mkdir -p \
125129
/app \
126130
/config \
127-
/defaults && \
131+
/defaults \
132+
/lsiopy && \
128133
echo "**** cleanup ****" && \
129134
apt-get -y autoremove && \
130135
apt-get clean && \

root/etc/s6-overlay/s6-rc.d/init-mods-package-install/run

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)