Skip to content

Commit

Permalink
Restrict scope of update task to security packages only (#653)
Browse files Browse the repository at this point in the history
* autoaccept the installation of any available patches
  • Loading branch information
DrizzlyOwl authored Dec 9, 2024
1 parent 0263ac3 commit 554087e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN ["dotnet", "publish", "TramsDataApi", "--no-build", "-o", "/app"]
FROM "mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}-azurelinux3.0" AS base
RUN curl "https://packages.microsoft.com/config/rhel/9/prod.repo" | tee /etc/yum.repos.d/mssql-release.repo
ENV ACCEPT_EULA=Y
RUN ["tdnf", "update"]
RUN ["tdnf", "update", "--security", "-y"]
RUN ["tdnf", "install", "-y", "mssql-tools18"]
RUN ["tdnf", "clean", "all"]

Expand Down

0 comments on commit 554087e

Please sign in to comment.