Browse Source

Merge pull request #606 from sparky8251/docker-update

Slim down docker image
Andrew Rabert 6 years ago
parent
commit
440350a3f6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Dockerfile

+ 5 - 1
Dockerfile

@@ -27,5 +27,9 @@ COPY --from=ffmpeg /ffmpeg-bin/* /usr/bin/
 EXPOSE 8096
 VOLUME /config /media
 RUN apt-get update \
- && apt-get install -y libfontconfig1 --no-install-recommends  # needed for Skia
+ && apt-get install --no-install-recommends --no-install-suggests -y \
+   libfontconfig1 # Required for Skia \
+ && apt-get clean autoclean \
+ && apt-get autoremove \
+ && rm -rf /var/lib/{apt,dpkg,cache,log}
 ENTRYPOINT dotnet /jellyfin/jellyfin.dll -programdata /config