Skip to content

Commit 33639ec

Browse files
1015670: Updated the PR.
1 parent f90fca8 commit 33639ec

5 files changed

Lines changed: 6 additions & 13 deletions

File tree

Azure Container/Web Assembly/WasmStandalone/Dockerfile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

33
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
4-
RUN ln -s /lib/x86_64-linux-gnu/libdl-2.24.so /lib/x86_64-linux-gnu/libdl.so
5-
64
# install System.Drawing native dependencies
75

86
RUN apt-get update && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev libx11-dev
@@ -14,20 +12,19 @@ EXPOSE 443
1412

1513
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
1614
## Install Python required for WASM tools
17-
#RUN apt-get update && apt-get install -y \
18-
#python3 \
19-
#python3-pip \
20-
#python3-venv \
21-
#&& ln -s /usr/bin/python3 /usr/bin/python || true
15+
RUN apt-get update && apt-get install -y \
16+
python3 \
17+
python3-pip \
18+
python3-venv \
19+
&& ln -s /usr/bin/python3 /usr/bin/python || true
2220
## Install WASM tools
23-
#RUN dotnet workload install wasm-tools
21+
RUN dotnet workload install wasm-tools
2422
WORKDIR /src
2523
COPY ["NuGet.Config","/src/"]
2624
COPY ["package", "/src/package"]
2725

2826
RUN dotnet nuget add source package
2927
COPY ["WasmStandalone.csproj", "."]
30-
RUN dotnet workload install wasm-tools
3128
RUN apt-get update && apt-get install -y emscripten
3229
RUN dotnet restore "WasmStandalone.csproj" --configfile "NuGet.Config"
3330
COPY . .

Azure Container/WebApps Server/WebAppServerNet10/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
# This stage is used when running from VS in fast mode (Default for Debug configuration)
44
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
5-
6-
RUN ln -s /lib/x86_64-linux-gnu/libdl-2.24.so /lib/x86_64-linux-gnu/libdl.so
75
# install System.Drawing native dependencies
86
RUN apt-get update && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev libx11-dev
97
RUN ln -s libgdiplus.so gdiplus.dll

Azure Container/WebApps Wasm/WebAppWASMNet10/WebAppWASMNet10/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
# This stage is used when running from VS in fast mode (Default for Debug configuration)
44
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
5-
6-
RUN ln -s /lib/x86_64-linux-gnu/libdl-2.24.so /lib/x86_64-linux-gnu/libdl.so
75
# install System.Drawing native dependencies
86
RUN apt-get update && apt-get install -y --allow-unauthenticated libgdiplus libc6-dev libx11-dev
97
RUN ln -s libgdiplus.so gdiplus.dll
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)