mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2025-12-10 02:08:26 +00:00
tails-patch option added in menue
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.git
|
||||
.gitignore
|
||||
srv
|
||||
media
|
||||
RPi-PXE-Server
|
||||
|
||||
|
||||
@@ -15,18 +15,18 @@ services:
|
||||
container_name: pxe-container
|
||||
image: pxe-image
|
||||
|
||||
pxe-samba:
|
||||
image: gists/samba-server
|
||||
container_name: samba-server
|
||||
ports:
|
||||
- "0.0.0.0:137:137/udp"
|
||||
- "0.0.0.0:138:138/udp"
|
||||
- "0.0.0.0:139:139/tcp"
|
||||
- "0.0.0.0:445:445/tcp"
|
||||
volumes:
|
||||
- ${PWD}/samba:/etc/samba
|
||||
- ${PWD}/srv:/srv
|
||||
- ${PWD}/media:/media/
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- pxe-container
|
||||
# pxe-samba:
|
||||
# image: gists/samba-server
|
||||
# container_name: samba-server
|
||||
# ports:
|
||||
# - "0.0.0.0:137:137/udp"
|
||||
# - "0.0.0.0:138:138/udp"
|
||||
# - "0.0.0.0:139:139/tcp"
|
||||
# - "0.0.0.0:445:445/tcp"
|
||||
# volumes:
|
||||
# - ${PWD}/samba:/etc/samba
|
||||
# - ${PWD}/srv:/srv
|
||||
# - ${PWD}/media:/media/
|
||||
# restart: unless-stopped
|
||||
# depends_on:
|
||||
# - pxe-container
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt-get update && apt upgrade -y && apt-get autoremove -y
|
||||
RUN apt-get install unzip util-linux nano xz-utils wget systemctl sudo git tcpdump -y
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
|
||||
RUN apt-get install unzip fdisk util-linux nano xz-utils wget systemctl sudo git tcpdump -y
|
||||
|
||||
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
|
||||
|
||||
10
start.sh
10
start.sh
@@ -45,6 +45,7 @@ menue()
|
||||
mkdir samba srv
|
||||
git clone https://github.com/beta-tester/RPi-PXE-Server.git
|
||||
cp scripts/* RPi-PXE-Server
|
||||
docker-compose build --no-cache
|
||||
docker-compose up -d
|
||||
docker exec -it pxe-container bash first_run.sh
|
||||
clear
|
||||
@@ -105,6 +106,15 @@ menue()
|
||||
;;
|
||||
#############################################
|
||||
|
||||
p) clear
|
||||
docker exec -it pxe-container bash tails-patch.sh
|
||||
clear
|
||||
echo "Patch for Tails installed"
|
||||
echo ""
|
||||
menue
|
||||
;;
|
||||
#############################################
|
||||
|
||||
D) clear
|
||||
docker-compose down
|
||||
docker rmi pxe-image:latest
|
||||
|
||||
Reference in New Issue
Block a user