Skip to content

Commit

Permalink
Try to simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusRo authored Nov 8, 2024
1 parent 028bf44 commit 62c8491
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
FROM debian:stable-20241016-slim
ADD https://github.com/ventoy/PXE/releases/download/v1.0.20/iventoy-1.0.20-linux-free.tar.gz /tmp/
RUN set -x && \
export version=1.0.20 && \
apt update && apt upgrade -y && \
apt install -y wget && \
cd /tmp && \
wget "https://github.com/ventoy/PXE/releases/download/v$version/iventoy-$version-linux-free.tar.gz" && \
tar -xvf ./iventoy-$version-linux-free.tar.gz && \
rm -Rf ./iventoy-$version/iso/ && \
rm -Rf ./iventoy-$version/data/config.dat && \
mkdir -p /opt/iventoy/iso && mkdir -p /opt/iventoy/data &&\
cp -Rvf ./iventoy-$version/* /opt/iventoy/ && \
chmod +x /opt/iventoy/lib/iventoy && \
apt remove wget -y && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
Expand Down

0 comments on commit 62c8491

Please sign in to comment.