Introduce spawner app with sandboxing support and client protocol implementation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
571f43457d
commit
7b1df2607e
26 files changed
+2438
-5
No files matched your search
+4
-1
@@ -13,9 +13,12 @@ RUN rm -f /etc/dpkg/dpkg.cfg.d/docker \
|
||||
figlet cowsay fortune-mod fortunes-min sl curl wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# The home directory stays empty, because Podman copies image content into
|
||||
# tmpfs mounts and Docker does not. All shell configuration lives in /etc.
|
||||
# Setuid binaries are useless under no-new-privileges, so they are stripped
|
||||
# to keep the attack surface minimal even if that option is ever dropped.
|
||||
RUN useradd --uid 1000 --create-home --shell /bin/bash guest \
|
||||
RUN useradd --uid 1000 --no-create-home --home-dir /home/guest --shell /bin/bash guest \
|
||||
&& mkdir /home/guest \
|
||||
&& find / -xdev -perm /6000 -type f -exec chmod a-s {} +
|
||||
|
||||
COPY etc/ /etc/
|
||||
|
||||
Reference in new issue
Block a user