Skip to content

Commit

Permalink
chore: Bump docker image to SDK .NET 8 (dotnet#9501)
Browse files Browse the repository at this point in the history
Bumpt docker image to SDK .NET 8
  • Loading branch information
JM2K69 authored and p-kostov committed Jun 28, 2024
1 parent 2310b4e commit 185b70f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" ]
Expand Down

0 comments on commit 185b70f

Please sign in to comment.