Skip to content
Open
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
2 changes: 1 addition & 1 deletion dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /app
USER appuser

FROM mcr.microsoft.com/dotnet/sdk:8.0.101 AS build
FROM mcr.microsoft.com/dotnet/sdk:9.0.101 AS build
ARG configuration=Release
WORKDIR /src
COPY ["myfunc.csproj", "./"]
Expand All @@ -20,7 +20,7 @@

FROM build AS publish
ARG configuration=Release
RUN dotnet publish "myfunc.csproj" -c $configuration -o /app/publish /p:UseAppHost=false

Check warning on line 23 in dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=sayedimac_myfunc&issues=AZ3PBNsiDEWyCvta2RG6&open=AZ3PBNsiDEWyCvta2RG6&pullRequest=143

FROM base AS final
WORKDIR /app
Expand Down