Skip to content

Commit 6fd08a8

Browse files
authored
Merge pull request #45 from linuxserver/master-alpine3
2 parents 99268f5 + ebcb730 commit 6fd08a8

File tree

9 files changed

+12
-7
lines changed

9 files changed

+12
-7
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM alpine:3.19 as rootfs-stage
3+
FROM alpine:3 as rootfs-stage
44

55
# environment
66
ENV ARCH=x86_64
@@ -27,7 +27,7 @@ RUN \
2727
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
2828

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

3333
# add s6 overlay
@@ -38,7 +38,7 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz
3838

3939
# add s6 optional symlinks
4040
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz /tmp
41-
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz
41+
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz && unlink /root-out/usr/bin/with-contenv
4242
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz /tmp
4343
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
4444

@@ -50,12 +50,14 @@ ARG VERSION
5050
ARG MODS_VERSION="v3"
5151
ARG PKG_INST_VERSION="v1"
5252
ARG LSIOWN_VERSION="v1"
53+
ARG WITHCONTENV_VERSION="v1"
5354
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5455
LABEL maintainer="TheLamer"
5556

5657
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
5758
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"
5859
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.${LSIOWN_VERSION}" "/usr/bin/lsiown"
60+
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.${WITHCONTENV_VERSION}" "/usr/bin/with-contenv"
5961

6062
# environment variables
6163
ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \

Dockerfile.aarch64

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM alpine:3.19 as rootfs-stage
3+
FROM alpine:3 as rootfs-stage
44

55
# environment
66
ENV ARCH=aarch64
@@ -27,7 +27,7 @@ RUN \
2727
sed -i -e 's/^root::/root:!:/' /root-out/etc/shadow
2828

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

3333
# add s6 overlay
@@ -38,7 +38,7 @@ RUN tar -C /root-out -Jxpf /tmp/s6-overlay-${S6_OVERLAY_ARCH}.tar.xz
3838

3939
# add s6 optional symlinks
4040
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz /tmp
41-
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz
41+
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-noarch.tar.xz && unlink /root-out/usr/bin/with-contenv
4242
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz /tmp
4343
RUN tar -C /root-out -Jxpf /tmp/s6-overlay-symlinks-arch.tar.xz
4444

@@ -50,12 +50,14 @@ ARG VERSION
5050
ARG MODS_VERSION="v3"
5151
ARG PKG_INST_VERSION="v1"
5252
ARG LSIOWN_VERSION="v1"
53+
ARG WITHCONTENV_VERSION="v1"
5354
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5455
LABEL maintainer="TheLamer"
5556

5657
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
5758
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"
5859
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.${LSIOWN_VERSION}" "/usr/bin/lsiown"
60+
ADD --chmod=755 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.${WITHCONTENV_VERSION}" "/usr/bin/with-contenv"
5961

6062
# environment variables
6163
ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \

jenkins-vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ custom_version_command: "echo 40"
77
release_type: stable
88
release_tag: "40"
99
ls_branch: master
10-
build_armhf: false
10+
image_sbom: true
11+
image_provenance: true
1112
repo_vars:
1213
- BUILD_VERSION_ARG = 'FEDORA_VERSION'
1314
- LS_USER = 'linuxserver'

root/etc/s6-overlay/s6-rc.d/init-mods/dependencies.d/base

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/init-os-end/dependencies.d/base

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/init-os-end/dependencies.d/init-migrations

Whitespace-only changes.

root/etc/s6-overlay/s6-rc.d/init-services/dependencies.d/init-mods-end

Whitespace-only changes.

0 commit comments

Comments
 (0)