change dockerfile to use official docker script

This commit is contained in:
David Claeys
2026-01-26 18:34:22 +01:00
parent 83705a35cd
commit 8907ef5e04

View File

@@ -1,15 +1,11 @@
FROM debian:bullseye FROM debian:bookworm
RUN export DEBIAN_FRONTEND=noninteractive && \ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \ apt-get update && \
apt-get upgrade -y -q && \
apt-get install -y wget gpg sudo libpython3.9 && \ apt-get install -y wget gpg sudo libpython3.9 && \
wget -qO /tmp/hyperion.pub.key https://apt.hyperion-project.org/hyperion.pub.key && \ wget -qO /tmp/install.sh https://raw.github.com/hyperion-project/hyperion.ng/master/bin/scripts/docker-compile.sh && \
gpg --dearmor -o /usr/share/keyrings/hyperion.pub.gpg /tmp/hyperion.pub.key && \ chmod +x /tmp/install.sh && \
echo "deb [signed-by=/usr/share/keyrings/hyperion.pub.gpg] https://apt.hyperion-project.org/ bullseye main" > /etc/apt/sources.list.d/hyperion.list && \
echo "deb [signed-by=/usr/share/keyrings/hyperion.nightly.pub.gpg] https://nightly.apt.hyperion-project.org/ bullseye main" > /etc/apt/sources.list.d/hyperion.nightly.list.disabled && \
apt-get update && \
apt-get install -y hyperion && \
apt-get -y --purge autoremove gpg && \
apt-get clean apt-get clean