mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add iventoy
This commit is contained in:
parent
667c524ccd
commit
02c42eb382
@ -60,6 +60,7 @@ A collection of delicious docker recipes.
|
||||
- [x] ~hass~
|
||||
- [x] flashmq
|
||||
- [x] hbdg
|
||||
- [x] iventoy :cn:
|
||||
- [x] node-red :+1:
|
||||
- [x] mqtt-io-arm
|
||||
- [x] mosquitto :+1:
|
||||
|
25
iventoy/Dockerfile
Normal file
25
iventoy/Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Dockerfile for iventoy
|
||||
#
|
||||
|
||||
FROM ubuntu:bookworm
|
||||
|
||||
ARG IVENTOY_VERSION=1.0.20
|
||||
ARG IVENTOY_FILE=iventoy-$IVENTOY_VERSION-linux-free.tar.gz
|
||||
ARG IVENTOY_URL=https://github.com/ventoy/PXE/releases/download/v$IVENTOY_VERSION/$IVENTOY_FILE
|
||||
|
||||
WORKDIR /opt/iventoy
|
||||
|
||||
RUN set -xe \
|
||||
&& apt update -y \
|
||||
&& apt install -y curl \
|
||||
&& curl -sSL $IVENTOY_URL | tar xz --strip 1 \
|
||||
&& apt remove -y curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV IVENTOY_API_ALL=1
|
||||
ENV IVENTOY_AUTO_RUN=1
|
||||
|
||||
EXPOSE 67/udp 68/udp 69/udp 10809 16000 26000
|
||||
|
||||
CMD ./lib/iventoy && sleep inf
|
6
iventoy/README.md
Normal file
6
iventoy/README.md
Normal file
@ -0,0 +1,6 @@
|
||||
iventoy
|
||||
=======
|
||||
|
||||
[iVentoy][1] is an enhanced version of the PXE server.
|
||||
|
||||
[1]: https://www.iventoy.com/en/index.html
|
9
iventoy/docker-compose.yml
Normal file
9
iventoy/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
iventoy:
|
||||
image: vimagick/iventoy
|
||||
volumes:
|
||||
- ./data/iso:/opt/iventoy/iso
|
||||
- ./data/log:/opt/iventoy/log
|
||||
network_mode: host
|
||||
privileged: true
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user