1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

add iventoy

This commit is contained in:
kev 2024-12-02 17:31:43 +08:00
parent 667c524ccd
commit 02c42eb382
4 changed files with 41 additions and 0 deletions

View File

@ -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
View 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
View File

@ -0,0 +1,6 @@
iventoy
=======
[iVentoy][1] is an enhanced version of the PXE server.
[1]: https://www.iventoy.com/en/index.html

View 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