Skip to content

Commit 6a13c58

Browse files
committed
refactor Dockerfile: improve dependency installation process and remove redundancy
1 parent 64255da commit 6a13c58

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ ENV PATH="${TOOLS_DIR}/john/run:${PATH}"
1515
USER root
1616

1717
# System update and installation of dependencies
18-
RUN apt-get update && \
19-
apt-get dist-upgrade -y && \
20-
echo "wireshark-common wireshark-common/install-setuid boolean true" | debconf-set-selections && \
18+
RUN apt-get update &&
19+
apt-get dist-upgrade -y &&
20+
echo "wireshark-common wireshark-common/install-setuid boolean true" | debconf-set-selections &&
2121
apt-get install -y --no-install-recommends \
2222
curl php binwalk gimp wireshark tshark nmap ht ltrace gdb patchelf elfutils \
23-
unzip wget build-essential aria2 jq python3-venv python3-full git ruby ruby-dev && \
24-
apt-get autoremove -y && \
23+
unzip wget build-essential aria2 jq python3-venv python3-full git ruby ruby-dev \
24+
libpcap-dev pkg-config libcapstone-dev && \
25+
libpcap-dev pkg-config libcapstone-dev &&
26+
apt-get autoremove -y &&
2527
rm -rf /var/lib/apt/lists/*
2628

2729
# Install global tools (Ruby gems, ngrok)

0 commit comments

Comments
 (0)