Add permissions and symlink for systemctl

Added executable permissions to systemctl and created a symlink.
This commit is contained in:
Pi-Farm
2026-06-08 11:30:38 +02:00
parent c8f19df99c
commit 43bf3a1db8

View File

@@ -4,6 +4,7 @@ ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-
ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-overlay-aarch64.tar.xz /tmp
RUN tar -C / -Jxpf /tmp/s6-overlay-aarch64.tar.xz && tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && mkdir /app && mkdir /app/RPi-PXE-Server
COPY root/ /
RUN chmod +x /usr/local/bin/systemctl && ln -sf /usr/local/bin/systemctl /usr/bin/systemctl
VOLUME /app/RPi-PXE-Server
VOLUME /srv
VOLUME /etc/samba