Skip to content

Commit c63a5a4

Browse files
committed
[NRL-1179] Fix sonarcloud warnings in Dockerfile
1 parent 509aeb6 commit c63a5a4

File tree

1 file changed

+27
-7
lines changed

1 file changed

+27
-7
lines changed

Dockerfile.ci-build

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,32 @@ FROM ubuntu:22.04
33
RUN apt update && \
44
apt upgrade -y && \
55
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y \
6-
ca-certificates curl gnupg lsb-release \
7-
build-essential make libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
8-
libsqlite3-dev llvm libncursesw5-dev tk-dev libxml2-dev \
9-
libxmlsec1-dev libffi-dev libicu70 liblzma-dev \
10-
python3 git curl wget \
11-
zip xz-utils tar unzip && \
6+
build-essential \
7+
ca-certificates \
8+
curl \
9+
git \
10+
gnupg \
11+
libbz2-dev \
12+
libffi-dev \
13+
libicu70 \
14+
liblzma-dev \
15+
libncursesw5-dev \
16+
libreadline-dev \
17+
libsqlite3-dev \
18+
libssl-dev \
19+
libxml2-dev \
20+
libxmlsec1-dev \
21+
llvm \
22+
lsb-release \
23+
make \
24+
python3 \
25+
tar \
26+
tk-dev \
27+
unzip \
28+
wget \
29+
xz-utils \
30+
zip \
31+
zlib1g-dev && \
1232
apt clean && \
1333
rm -rf /var/lib/apt/lists/*
1434

@@ -22,7 +42,7 @@ RUN git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.13.1 && \
2242

2343
COPY .tool-versions .
2444
RUN for plugin in $(cat .tool-versions | cut -d' ' -f1); do \
25-
./.asdf/bin/asdf plugin add $plugin; \
45+
./.asdf/bin/asdf plugin add "${plugin}"; \
2646
done && \
2747
./.asdf/bin/asdf install && \
2848
ln -s $(pwd)/.asdf/shims/* /usr/local/bin/.

0 commit comments

Comments
 (0)