diff options
| author | Sparky <sparky@possumlodge.me> | 2019-01-17 18:59:47 -0500 |
|---|---|---|
| committer | Sparky <sparky@possumlodge.me> | 2019-01-17 18:59:52 -0500 |
| commit | fe4c3fddb4627bddfffd99729d90f99c3c12449b (patch) | |
| tree | 8586138d13ecea6b3ce718c969131215dbc81a62 | |
| parent | 7aa975325af87fe425fe143aaed1df830133be8b (diff) | |
Slim down docker image
After installing, remove package caches and clean up after installation of stuff.
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 02332d40b..f21249e54 100644 --- a/Dockerfile +++ b/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 |
