Update Dockerfile

This commit is contained in:
Alexandre
2022-01-11 22:03:12 +01:00
committed by GitHub
parent c3b88887d9
commit e487d867ee

View File

@@ -34,6 +34,10 @@ RUN sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \
# Graphic drivers for rpi4
RUN apt-get update && apt-get dist-upgrade && apt-get install -yqq libgles2-mesa libgles2-mesa-dev xorg-dev || true
# Spotify
RUN curl -sS https://download.spotify.com/debian/pubkey_5E3C45D7B312C643.gpg | sudo apt-key add -
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/SPOTIFY.LIST
##################
# 3 Install apps #
##################
@@ -42,7 +46,7 @@ RUN apt-get update && apt-get dist-upgrade && apt-get install -yqq libgles2-mesa
COPY rootfs/ /
# Manual apps
ENV PACKAGES=""
ENV PACKAGES="spotify-client"
# Automatic apps & bashio
RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get install -yqq --no-install-recommends bash || apk add --no-cache bash); fi && \