Skip to content

Commit

Permalink
add dotnet clean
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubramanianaks authored Feb 20, 2024
1 parent 2eaf1c1 commit a18ec5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions samples/todo-app/database-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0@sha256:e14034d5ba09b02204d5
ARG TARGETARCH
WORKDIR /src
COPY ["databaseApi.csproj", ""]
RUN dotnet clean
RUN dotnet restore "databaseApi.csproj" -a ${TARGETARCH}
COPY . .
WORKDIR "/src/."
Expand Down
1 change: 0 additions & 1 deletion src/devhostagent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ARG MindaroBuildNumber=0.0
WORKDIR /src/devhostagent
COPY /src/devhostagent/devhostAgent.csproj .
COPY /src/common/common.csproj /src/common/
RUN dotnet clean
RUN dotnet restore -a ${TARGETARCH}
COPY /src/devhostagent/ /src/devhostagent/
COPY /src/common/ /src/common/
Expand Down

0 comments on commit a18ec5b

Please sign in to comment.