Skip to content

Commit 3107d71

Browse files
authored
Merge pull request #14 from linuxserver/buildkit-master
2 parents e859202 + 36760a9 commit 3107d71

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM alpine:3.16 as rootfs-stage
24

35
# environment
@@ -49,7 +51,7 @@ ARG MODS_VERSION="v3"
4951
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5052
LABEL maintainer="TheLamer"
5153

52-
ADD "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
54+
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
5355

5456
# environment variables
5557
ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \
@@ -80,7 +82,6 @@ RUN \
8082
/app \
8183
/config \
8284
/defaults && \
83-
chmod +x /docker-mods && \
8485
echo "**** cleanup ****" && \
8586
dnf autoremove -y && \
8687
dnf clean all && \

Dockerfile.aarch64

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM alpine:3.14 as rootfs-stage
24

35
# environment
@@ -49,7 +51,7 @@ ARG MODS_VERSION="v3"
4951
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5052
LABEL maintainer="TheLamer"
5153

52-
ADD "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
54+
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
5355

5456
# environment variables
5557
ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \
@@ -80,7 +82,6 @@ RUN \
8082
/app \
8183
/config \
8284
/defaults && \
83-
chmod +x /docker-mods && \
8485
echo "**** cleanup ****" && \
8586
dnf autoremove -y && \
8687
dnf clean all && \

Dockerfile.armhf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# syntax=docker/dockerfile:1
2+
13
FROM alpine:3.14 as rootfs-stage
24

35
# environment
@@ -49,7 +51,7 @@ ARG MODS_VERSION="v3"
4951
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
5052
LABEL maintainer="TheLamer"
5153

52-
ADD "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
54+
ADD --chmod=744 "https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.${MODS_VERSION}" "/docker-mods"
5355

5456
# environment variables
5557
ENV PS1="$(whoami)@$(hostname):$(pwd)\\$ " \
@@ -80,7 +82,6 @@ RUN \
8082
/app \
8183
/config \
8284
/defaults && \
83-
chmod +x /docker-mods && \
8485
echo "**** cleanup ****" && \
8586
dnf autoremove -y && \
8687
dnf clean all && \

0 commit comments

Comments
 (0)