Fix default build arg

This commit is contained in:
Andrew Rabert 2019-09-02 15:13:08 -04:00
parent ee637e8fec
commit 11346c000e

View File

@ -1,4 +1,5 @@
ARG DOTNET_VERSION=2.2
ARG FFMPEG_VERSION=latest
FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION} as builder
WORKDIR /repo
@ -7,7 +8,6 @@ ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN bash -c "source deployment/common.build.sh && \
build_jellyfin Jellyfin.Server Release linux-x64 /jellyfin"
ARG FFMPEG_VERSION=latest
FROM jellyfin/ffmpeg:${FFMPEG_VERSION} as ffmpeg
FROM mcr.microsoft.com/dotnet/core/runtime:${DOTNET_VERSION}
# libfontconfig1 is required for Skia