Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump docker image to SDK .NET 8 #9501

Merged
merged 1 commit into from
Dec 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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