Skip to content

Commit 6f62863

Browse files
committed
[NRL-1922] Add NOSONAR for 'apt install -y' in ci-build Dockerfile
1 parent 702eac9 commit 6f62863

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile.ci-build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM ubuntu:22.04
22

3+
34
RUN apt update && \
45
apt upgrade -y && \
56
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y \
@@ -30,7 +31,8 @@ RUN apt update && \
3031
zip \
3132
zlib1g-dev && \
3233
apt clean && \
33-
rm -rf /var/lib/apt/lists/*
34+
rm -rf /var/lib/apt/lists/* # NOSONAR (S6500) - Auto installing the defined packages is acceptable here
35+
3436

3537
WORKDIR /root
3638
RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1 && \

0 commit comments

Comments
 (0)