aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm64
diff options
context:
space:
mode:
authorThomas Büttner <thomas@vergesslicher.tech>2019-02-24 11:17:39 +0100
committerThomas Büttner <thomas@vergesslicher.tech>2019-02-24 11:17:39 +0100
commit38ec68c488c0c8e88989dc7c3fdc0824cfe71343 (patch)
treeffe0eed0f51de936e8ceee4f32514f421bafa252 /Dockerfile.arm64
parentda61998ad611bf25d5644223a82eed1cf2e3d835 (diff)
use common.build.sh for docker image builds
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
Diffstat (limited to 'Dockerfile.arm64')
-rw-r--r--Dockerfile.arm648
1 files changed, 2 insertions, 6 deletions
diff --git a/Dockerfile.arm64 b/Dockerfile.arm64
index 5c67f85c9..b85f8735b 100644
--- a/Dockerfile.arm64
+++ b/Dockerfile.arm64
@@ -18,12 +18,8 @@ RUN find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \;
# Discard objs - may cause failures if exists
RUN find . -type d -name obj | xargs -r rm -r
# Build
-RUN dotnet publish \
- -r linux-arm64 \
- --configuration release \
- --output /jellyfin \
- "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" \
- Jellyfin.Server
+RUN bash -c "source deployment/common.build.sh && \
+ build_jellyfin Jellyfin.Server Release linux-arm64 /jellyfin"
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime-stretch-slim-arm64v8