mirror of
https://github.com/pi-farm/Docker-PXE-Server.git
synced 2025-12-10 02:08:26 +00:00
renaming docker-image
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
version: '3.7'
|
version: '3.7'
|
||||||
services:
|
services:
|
||||||
pxe-container-s6:
|
pxe-container:
|
||||||
build: .
|
build: .
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
@@ -13,7 +13,7 @@ services:
|
|||||||
- ${PWD}/media:/media/
|
- ${PWD}/media:/media/
|
||||||
- /boot:/boot
|
- /boot:/boot
|
||||||
container_name: pxe-container
|
container_name: pxe-container
|
||||||
image: pxe-image:s6-test01
|
image: pxe-image
|
||||||
|
|
||||||
pxe-samba:
|
pxe-samba:
|
||||||
image: gists/samba-server
|
image: gists/samba-server
|
||||||
@@ -27,6 +27,6 @@ services:
|
|||||||
- ${PWD}/samba:/etc/samba
|
- ${PWD}/samba:/etc/samba
|
||||||
- ${PWD}/srv:/srv
|
- ${PWD}/srv:/srv
|
||||||
- ${PWD}/media:/media/
|
- ${PWD}/media:/media/
|
||||||
# restart: unless-stoped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- pxe-container-s6
|
- pxe-container
|
||||||
|
|||||||
@@ -13,18 +13,13 @@ RUN mkdir /app/RPi-PXE-Server
|
|||||||
|
|
||||||
COPY root/ /
|
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 /app/RPi-PXE-Server
|
||||||
VOLUME /srv
|
VOLUME /srv
|
||||||
VOLUME /etc/samba
|
VOLUME /etc/samba
|
||||||
VOLUME /boot
|
VOLUME /boot
|
||||||
|
|
||||||
RUN rm -rf /temp/*
|
RUN rm -rf /temp/*
|
||||||
|
|
||||||
WORKDIR /app/RPi-PXE-Server
|
WORKDIR /app/RPi-PXE-Server
|
||||||
|
|
||||||
ENTRYPOINT [ "/init" ]
|
ENTRYPOINT [ "/init" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user