Skip to content

Commit 99575dd

Browse files
committed
Do not use sudo in Dockerfile
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 50208ab commit 99575dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN curl --location https://packages.microsoft.com/config/ubuntu/22.04/packages-
1515
&& rm packages-microsoft-prod.deb
1616

1717
RUN apt-get update && \
18-
sudo apt-get install -y dotnet-sdk-6.0
18+
apt-get install -y dotnet-sdk-6.0
1919

2020
ENV NI_HOME=/opt/nuget-inspector/bin
2121
ENV PATH=$PATH:$NI_HOME

0 commit comments

Comments
 (0)