Skip to content

Commit a2ad9ae

Browse files
committed
fix Dockerfile: correct syntax for apt-get commands and remove redundancy
1 parent 6a13c58 commit a2ad9ae

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +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 \
2323
unzip wget build-essential aria2 jq python3-venv python3-full git ruby ruby-dev \
2424
libpcap-dev pkg-config libcapstone-dev && \
25-
libpcap-dev pkg-config libcapstone-dev &&
25+
apt-get autoremove -y && \
26+
rm -rf /var/lib/apt/lists/*
2627
apt-get autoremove -y &&
2728
rm -rf /var/lib/apt/lists/*
2829

0 commit comments

Comments
 (0)