mirror of
https://github.com/mkuf/prind.git
synced 2026-05-07 11:36:22 +02:00
klipperscreen: update runtime dependencies
This commit is contained in:
committed by
Markus Küffner
parent
96fc52b1cb
commit
49161b7aa3
@@ -20,22 +20,23 @@ FROM python:3-slim as run
|
||||
|
||||
RUN apt update \
|
||||
&& apt install -y \
|
||||
git \
|
||||
xdotool \
|
||||
x11-xserver-utils \
|
||||
libglib2.0-0 \
|
||||
libgirepository-1.0-1 \
|
||||
gir1.2-gtk-3.0 \
|
||||
libopenjp2-7 \
|
||||
fonts-freefont-ttf \
|
||||
libcairo2 \
|
||||
libatlas3-base \
|
||||
&& apt clean
|
||||
|
||||
WORKDIR /opt
|
||||
COPY --from=build /opt/klipperscreen ./klipperscreen
|
||||
COPY --from=build /opt/venv ./venv
|
||||
|
||||
RUN mkdir cfg
|
||||
RUN groupadd klipperscreen --gid 1000 \
|
||||
&& useradd klipperscreen --uid 1000 --gid klipperscreen \
|
||||
&& chown -R klipperscreen:klipperscreen /opt/*
|
||||
|
||||
## Start klipperscreen
|
||||
USER klipperscreen
|
||||
ENV XAUTHORITY=/tmp/.Xauthority
|
||||
ENV DISPLAY=:0
|
||||
VOLUME ["/opt/cfg"]
|
||||
|
||||
Reference in New Issue
Block a user