aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2019-06-07 00:00:14 -0400
committerAndrew Rabert <ar@nullsum.net>2019-06-07 00:00:14 -0400
commit247a5e12ab85770faf2f59792f614cd4f727723f (patch)
tree362e79740a194409ffffe497712ef6be2342e02c /Dockerfile.arm
parent855911333a76999ede37fca5b720b85143e01d3c (diff)
Docker - Update arm* Dockerfiles for latest multiarch
Relates to this change https://github.com/multiarch/qemu-user-static/commit/7bdafb96ee59fde53d07a291f9446d2b8957d372
Diffstat (limited to 'Dockerfile.arm')
-rw-r--r--Dockerfile.arm8
1 files changed, 2 insertions, 6 deletions
diff --git a/Dockerfile.arm b/Dockerfile.arm
index 2b3668207..972825f3c 100644
--- a/Dockerfile.arm
+++ b/Dockerfile.arm
@@ -3,11 +3,6 @@
ARG DOTNET_VERSION=3.0
-FROM multiarch/qemu-user-static:x86_64-arm as qemu
-FROM alpine as qemu_extract
-COPY --from=qemu /usr/bin qemu-arm-static.tar.gz
-RUN tar -xzvf qemu-arm-static.tar.gz
-
FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION} as builder
WORKDIR /repo
COPY . .
@@ -21,8 +16,9 @@ RUN bash -c "source deployment/common.build.sh && \
build_jellyfin Jellyfin.Server Release linux-arm /jellyfin"
+FROM multiarch/qemu-user-static:x86_64-arm as qemu
FROM mcr.microsoft.com/dotnet/core/runtime:${DOTNET_VERSION}-stretch-slim-arm32v7
-COPY --from=qemu_extract qemu-arm-static /usr/bin
+COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y ffmpeg \
&& rm -rf /var/lib/apt/lists/* \