We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a09b36 commit 37887b2Copy full SHA for 37887b2
content/dotnet-template-azure-iot-edge-module/CSharp/Dockerfile.amd64
@@ -7,11 +7,11 @@ RUN dotnet restore
7
COPY . ./
8
RUN dotnet publish -c Release -o out
9
10
-FROM microsoft/dotnet:2.1-runtime-alpine
+FROM microsoft/dotnet:2.1-runtime-stretch-slim
11
WORKDIR /app
12
COPY --from=build-env /app/out ./
13
14
-RUN adduser -Ds /bin/sh moduleuser
+RUN useradd -ms /bin/bash moduleuser
15
USER moduleuser
16
17
ENTRYPOINT ["dotnet", "SampleModule.dll"]
0 commit comments