aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2019-09-27 23:02:18 -0400
committerAnthony Lavado <anthony@lavado.ca>2019-09-27 23:02:18 -0400
commit75b7c9ac36ab44e7b49c444bb7f4b710e751f3f0 (patch)
tree2bb3376732a750887055f3250b62cd0eb6120b51 /Dockerfile.arm
parente4d5e5bf91ca3129b4701463ed5c6bdce5b2115b (diff)
Do explicit dotnet publish in Dockerfiles (#1801)
The common.build.sh script was removed in #1793 but the Dockerfiles still used this to perform the dotnet publish. Remove that call and do the publish explicitly.
Diffstat (limited to 'Dockerfile.arm')
-rw-r--r--Dockerfile.arm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile.arm b/Dockerfile.arm
index 8a91d71be..742e050d5 100644
--- a/Dockerfile.arm
+++ b/Dockerfile.arm
@@ -22,8 +22,7 @@ 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 bash -c "source deployment/common.build.sh && \
- build_jellyfin Jellyfin.Server Release linux-arm /jellyfin"
+RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-arm "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none"
FROM multiarch/qemu-user-static:x86_64-arm as qemu