Skip to content

Commit f96f3fe

Browse files
committed
chore: add openssh-sftp-server, procps, and tar@7.5.11 to base image
Incorporates changes from PR #22: - openssh-sftp-server and procps are required for VS Code / Cursor remote SSH connections (SFTP file transfer, process inspection) - tar@7.5.11 in the base image fixes 6 CVEs at the earliest layer
1 parent 2078368 commit f96f3fe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sandboxes/base/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3131
iputils-ping \
3232
net-tools \
3333
netcat-openbsd \
34+
openssh-sftp-server \
35+
procps \
3436
software-properties-common \
3537
traceroute \
3638
&& add-apt-repository -y ppa:deadsnakes/ppa \
@@ -60,6 +62,11 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
6062
nano \
6163
&& rm -rf /var/lib/apt/lists/*
6264

65+
# Fix transitive tar vulnerabilities (GHSA-qffp-2rhf-9h96,
66+
# GHSA-9ppj-qmqm-q256, GHSA-8qq5-rm4j-mr97, GHSA-r6q2-hw4h-h46w,
67+
# GHSA-34x7-hfp2-rc4v, GHSA-83g3-92jg-28cx).
68+
RUN npm install -g tar@7.5.11
69+
6370
# GitHub CLI
6471
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \
6572
-o /usr/share/keyrings/githubcli-archive-keyring.gpg && \

0 commit comments

Comments
 (0)