speed up builds by using base images (#398)

This commit is contained in:
Jason Dove
2021-10-06 06:06:13 -05:00
committed by GitHub
parent ae8e795228
commit 4b7da4e468
4 changed files with 50 additions and 50 deletions
+7
View File
@@ -0,0 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0-focal-amd64 AS dotnet-runtime
FROM jrottenberg/ffmpeg:4.3-nvidia1804 AS runtime-base
COPY --from=dotnet-runtime /usr/share/dotnet /usr/share/dotnet
RUN apt-get update \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y libicu-dev tzdata \
&& rm -rf /var/lib/apt/lists/*