mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2026-10-28 03:15:22 +00:00
switch to debian:12-slim as baseimage
This commit is contained in:
1 parent
d1e6da9930
commit
43f90f907a
5 files changed
+35
-8
No files matched your search
+4
-3
@@ -1,5 +1,5 @@
|
||||
FROM debian:11-slim
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get install unzip fdisk util-linux nano xz-utils wget systemctl sudo git tcpdump zstd -y
|
||||
FROM debian:12-slim
|
||||
RUN apt-get update && apt-get install unzip fdisk util-linux nano xz-utils wget systemctl sudo git tcpdump zstd nfs-kernel-server nfs-common rpcbind -y
|
||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-overlay-noarch.tar.xz /tmp
|
||||
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
|
||||
@@ -9,6 +9,7 @@ VOLUME /app/RPi-PXE-Server
|
||||
VOLUME /srv
|
||||
VOLUME /etc/samba
|
||||
VOLUME /boot
|
||||
RUN rm -rf /temp/* && rm -rf /var/lib/apt/lists/*
|
||||
RUN rm -rf /temp/* && rm -rf /var/lib/apt/lists/* && mkdir -p /run/rpcbind /run/sendsigs.omit.d/
|
||||
RUN rm -rf /run/* /var/run/*
|
||||
WORKDIR /app/RPi-PXE-Server
|
||||
ENTRYPOINT [ "/init" ]
|
||||
Reference in new issue
Block a user