mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2026-10-28 03:15:22 +00:00
add new files
This commit is contained in:
1 parent
106d1d5370
commit
bd6118ed36
8 files changed
+1015
-7
No files matched your search
Executable → Regular
+8
-4
@@ -5,8 +5,13 @@ RUN apt-get install unzip fdisk util-linux nano xz-utils wget systemctl sudo git
|
||||
|
||||
ADD https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-overlay-noarch.tar.xz /tmp
|
||||
RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
|
||||
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
|
||||
|
||||
ARG arch
|
||||
RUN if [ "$arch" = "x86_64" ] ; then wget -O /tmp/s6-overlay-i686.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-overlay-i686.tar.xz ; fi;
|
||||
RUN if [ "$arch" = "x86_64" ] ; then tar -C / -Jxpf /tmp/s6-overlay-i686.tar.xz ; fi;
|
||||
|
||||
RUN if [ "$arch" = "arm64" ] ; then wget -O /tmp/s6-overlay-aarch64.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v3.1.6.0/s6-overlay-aarch64.tar.xz ; fi;
|
||||
RUN if [ "$arch" = "arm64" ] ; then tar -C / -Jxpf /tmp/s6-overlay-aarch64.tar.xz ; fi;
|
||||
|
||||
RUN mkdir /app
|
||||
RUN mkdir /app/RPi-PXE-Server
|
||||
@@ -22,5 +27,4 @@ RUN rm -rf /temp/*
|
||||
|
||||
WORKDIR /app/RPi-PXE-Server
|
||||
|
||||
ENTRYPOINT [ "/init" ]
|
||||
|
||||
ENTRYPOINT [ "/init" ]
|
||||
Reference in new issue
Block a user