Skip to content

Commit 76b0541

Browse files
committed
Resolve SonarCloud warnings
1 parent 589bb60 commit 76b0541

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/backups/db-backup-container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM mcr.microsoft.com/powershell:latest
55
RUN groupadd -r appgroup && useradd -r -g appgroup appuser
66

77
# Update package lists and install wget and unzip.
8-
RUN apt-get update && apt-get install -y wget unzip
8+
RUN apt-get --no-install-recommends update && apt-get install -y wget unzip
99

1010
# Install the Az PowerShell module for Azure authentication
1111
RUN pwsh -Command "Install-Module -Name Az.Accounts -RequiredVersion 2.12.0 -Force -Scope AllUsers"

scripts/backups/db-restore-container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM mcr.microsoft.com/powershell:latest
55
RUN groupadd -r appgroup && useradd -r -g appgroup appuser
66

77
# Update package lists and install wget and unzip.
8-
RUN apt-get update && apt-get install -y wget unzip
8+
RUN apt-get --no-install-recommends update && apt-get install -y wget unzip
99

1010
# Install the Az PowerShell module for Azure authentication
1111
RUN pwsh -Command "Install-Module -Name Az.Accounts -RequiredVersion 2.12.0 -Force -Scope AllUsers"

0 commit comments

Comments
 (0)