diff options
| author | Thomas Büttner <thomas@vergesslicher.tech> | 2019-02-24 11:17:39 +0100 |
|---|---|---|
| committer | Thomas Büttner <thomas@vergesslicher.tech> | 2019-02-24 11:17:39 +0100 |
| commit | 38ec68c488c0c8e88989dc7c3fdc0824cfe71343 (patch) | |
| tree | ffe0eed0f51de936e8ceee4f32514f421bafa252 /Dockerfile | |
| parent | da61998ad611bf25d5644223a82eed1cf2e3d835 (diff) | |
use common.build.sh for docker image builds
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile index af570ba655..3562688419 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,11 +4,8 @@ FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder WORKDIR /repo COPY . . ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 -RUN dotnet publish \ - --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-x64 /jellyfin" FROM jellyfin/ffmpeg as ffmpeg FROM microsoft/dotnet:${DOTNET_VERSION}-runtime |
