From 7cee1e756072b482ea34e39630445f022d3377db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Bezet-Torres=20=5BMVP=5D?= Date: Mon, 4 Dec 2023 09:59:28 +0100 Subject: [PATCH] Bumpt docker image to SDK .NET 8 --- Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index fc049ba6ed8..9e9bf3e627a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:7.0-bullseye-slim +FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim # Add dotnet tools to path. ENV PATH="${PATH}:/root/.dotnet/tools" @@ -8,11 +8,12 @@ RUN dotnet tool update -g docfx && \ docfx --version # Install dependences for chromium PDF. -RUN apt-get update -qq && apt-get install -y libglib2.0-0 libnss3 libnspr4 \ - libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libdbus-1-3 libxcb1 \ - libxkbcommon0 libatspi2.0-0 libx11-6 libxcomposite1 \ - libxdamage1 libxext6 libxfixes3 libxrandr2 libgbm1 \ - libpango-1.0-0 libcairo2 libasound2 +RUN apt-get update -qq && \ + apt-get install -y -qq --no-install-recommends \ + libglib2.0-0 libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 \ + libdbus-1-3 libxcb1 libxkbcommon0 libatspi2.0-0 libx11-6 libxcomposite1 libxdamage1 \ + libxext6 libxfixes3 libxrandr2 libgbm1 libpango-1.0-0 libcairo2 libasound2 && \ + rm -rf /var/lib/apt/lists/* /tmp/* WORKDIR /opt/prj VOLUME [ "/opt/prj" ]