Skip to content

Commit 3f18c97

Browse files
committed
refactor Dockerfile: optimize Python package installation process
1 parent 6b43533 commit 3f18c97

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.devcontainer/Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,13 @@ WORKDIR /home/vscode
4141
# Install Python packages
4242
RUN python3 -m pip install --user --upgrade pip wheel && \
4343
python3 -m pip install --user --upgrade \
44-
pyshark pwntools ropper pycryptodome mtp capstone==5.0.3 scapy
44+
pycryptodome ropper && \
45+
python3 -m pip install --user --upgrade \
46+
pyshark scapy && \
47+
python3 -m pip install --user --upgrade \
48+
pwntools && \
49+
python3 -m pip install --user --upgrade \
50+
capstone mtp
4551

4652
# Install user-specific tools
4753
RUN aria2c -q -d ${TOOLS_DIR} -o stegsolve.jar http://www.caesum.com/handbook/Stegsolve.jar || \

0 commit comments

Comments
 (0)