Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 9f799be

Browse files
authored
Remove unused nuget source (#302)
1 parent 6506a09 commit 9f799be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ WORKDIR /app/msgraph-cli
1414

1515
# RUN apk add gcc --no-cache # Uncomment this if PublishAot is enabled
1616

17-
RUN --mount=type=secret,id=user,required=true --mount=type=secret,id=token,required=true \
18-
dotnet nuget add source ${MSGRAPH_NUGET_URL} -n msgraph-gh -u $(cat /run/secrets/user) -p $(cat /run/secrets/token) --store-password-in-clear-text
19-
2017
RUN dotnet publish -p:PublishSingleFile=false -p:PublishReadyToRun=true -p:PublishReadyToRunShowWarnings=true ./src/msgraph-cli.csproj --configuration Release --no-self-contained --runtime linux-musl-x64 --output /app/output
2118

2219
FROM mcr.microsoft.com/dotnet/runtime:7.0-alpine as runtime
@@ -47,4 +44,4 @@ VOLUME [ "/root/.mgc", "/root/.local/share/.IdentityService", "/root/.local/shar
4744
ENTRYPOINT ["./dist/init.sh"]
4845

4946
LABEL description="# Welcome to the Microsoft Graph CLI \
50-
[Source dockerfile](https://github.com/microsoftgraph/msgraph-cli/blob/main/Dockerfile)"
47+
[Source dockerfile](https://github.com/microsoftgraph/msgraph-cli/blob/main/Dockerfile)"

0 commit comments

Comments
 (0)