renaming docker-image

This commit is contained in:
pi-farm
2023-11-19 03:23:11 +01:00
parent 8c2bf5dc89
commit c992331a20
3 changed files with 6 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
version: '3.7'
services:
pxe-container-s6:
pxe-container:
build: .
stdin_open: true
tty: true
@@ -13,7 +13,7 @@ services:
- ${PWD}/media:/media/
- /boot:/boot
container_name: pxe-container
image: pxe-image:s6-test01
image: pxe-image
pxe-samba:
image: gists/samba-server
@@ -27,6 +27,6 @@ services:
- ${PWD}/samba:/etc/samba
- ${PWD}/srv:/srv
- ${PWD}/media:/media/
# restart: unless-stoped
restart: unless-stopped
depends_on:
- pxe-container-s6
- pxe-container

View File

@@ -13,18 +13,13 @@ RUN mkdir /app/RPi-PXE-Server
COPY root/ /
#WORKDIR /app
#RUN git clone https://github.com/beta-tester/RPi-PXE-Server.git
#VOLUME /app/RPi-PXE-Server
#COPY scripts/ /app/RPi-PXE-Server/
VOLUME /app/RPi-PXE-Server
VOLUME /srv
VOLUME /etc/samba
VOLUME /boot
RUN rm -rf /temp/*
WORKDIR /app/RPi-PXE-Server
ENTRYPOINT [ "/init" ]

View File

@@ -80,7 +80,7 @@ menue()
D) clear
docker-compose down
docker rmi pxe-image:s6-test01
docker rmi pxe-image:latest
echo "PXE-Server container and image deleted"
echo ""
clear