Files
hyperion.ng-docker/Dockerfile
T
Måns Sivertsson 5b854a4afe
Build Docker Image / docker (push) Successful in 37s
fix Dockerfile
2026-07-04 15:31:48 +02:00

29 lines
604 B
Docker

FROM debian:bookworm
ARG VERSION=2.2.0
RUN apt-get update
RUN apt-get install -y \
curl \
ca-certificates
RUN curl -L -o /tmp/hyperion.deb \
https://github.com/hyperion-project/hyperion.ng/releases/download/${VERSION}/Hyperion-${VERSION}-Linux-amd64.deb
RUN apt-get install -y /tmp/hyperion.deb
RUN apt-get install -y \
libexpat1 \
libfontconfig1 \
libglib2.0-0 \
libusb-1.0-0
RUN rm /tmp/hyperion.deb
RUN rm -rf /var/lib/apt/lists/*
ENV UID=1000
ENV GID=1000
RUN groupadd -f hyperion
RUN useradd -r -s /bin/bash -g hyperion hyperion
ENTRYPOINT ["/usr/bin/hyperiond", "-u", "/data"]