Skip to content

Commit 55b7f5b

Browse files
Copilotidvoretskyi
andauthored
Remove linux-libc-dev from devcontainer image to mitigate Trivy CVE-2026-31431 finding (#35)
* fix: remove explicit linux-libc-dev install from devcontainer Agent-Logs-Url: https://github.com/idvoretskyi/dev/sessions/b5799ad5-e7b2-4bf3-a0c3-5a8666dcf8bb Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com> * fix: purge inherited linux-libc-dev from devcontainer image Agent-Logs-Url: https://github.com/idvoretskyi/dev/sessions/b5799ad5-e7b2-4bf3-a0c3-5a8666dcf8bb Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: idvoretskyi <118459+idvoretskyi@users.noreply.github.com>
1 parent 543069e commit 55b7f5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
77
python3-venv \
88
python3-pip \
99
sudo \
10-
linux-libc-dev \
1110
vim-tiny \
1211
&& apt-get -y upgrade \
12+
&& apt-get -y purge linux-libc-dev \
13+
&& apt-get -y autoremove \
1314
&& apt-get clean \
1415
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)