fix metadata extraction with missing dependencies

This commit is contained in:
Dieter Schmidt
2021-01-11 00:42:56 +01:00
parent e9d19e36fc
commit 110d8af4c5

View File

@@ -40,7 +40,15 @@ ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install git gcc locales supervisor libjpeg62-turbo libtiff5 -y && \
apt-get install -y \
git \
gcc \
locales \
supervisor \
libjpeg62-turbo \
libtiff5 \
gpiod \
libopenjp2-7 && \
sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen && \
# Clean up
@@ -68,7 +76,7 @@ RUN useradd --user-group --no-log-init --shell /bin/false ${USER} && \
usermod -a -G dialout ${USER} && \
mkdir -p /var/log/supervisor && \
mkdir -p /var/log/klipper && chown ${USER}:${USER} /var/log/klipper && \
pip install --no-cache supervisord-dependent-startup
pip install --no-cache supervisord-dependent-startup gpiod
USER ${USER}
WORKDIR ${HOME}