aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm64
diff options
context:
space:
mode:
authorSparky <sparky@possumlodge.me>2019-01-25 13:26:55 -0500
committerSparky <sparky@possumlodge.me>2019-01-25 13:27:12 -0500
commit9f83ee7b3ecc7613ddcdcf6a7920b05569e54d26 (patch)
treebcb507d0ee9b55743c09e1c43bd341b63ed937e9 /Dockerfile.arm64
parente0315b569591b71938829a8f35ac264399ef66bd (diff)
Make another docker layer reusable
By moving the apt-get layer before the copies, the apt-get layer can be reused with each build, reducing upload/download needed during updates. Just a small optimization.
Diffstat (limited to 'Dockerfile.arm64')
-rw-r--r--Dockerfile.arm644
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile.arm64 b/Dockerfile.arm64
index 6d7aa2118..979dfc1dc 100644
--- a/Dockerfile.arm64
+++ b/Dockerfile.arm64
@@ -24,10 +24,10 @@ RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime-stretch-slim-arm64v8
+RUN apt-get update \
+ && apt-get install -y ffmpeg
COPY --from=qemu_extract qemu-* /usr/bin
COPY --from=builder /jellyfin /jellyfin
EXPOSE 8096
-RUN apt-get update \
- && apt-get install -y ffmpeg
VOLUME /config /media
ENTRYPOINT dotnet /jellyfin/jellyfin.dll -programdata /config