feat(toolbox): update toolbox-base Dockerfile configuration
- Update ToolboxStack/output/toolbox-base/Dockerfile with latest container settings - Refine container build process and dependencies - Ensure optimal configuration for developer environments This improves the base developer environment container configuration.
This commit is contained in:
@@ -123,8 +123,8 @@ RUN su - "${USERNAME}" -c 'mise exec -- npm install -g @just-every/code@0.4.6 @q
|
|||||||
RUN mkdir -p /workspace \
|
RUN mkdir -p /workspace \
|
||||||
&& chown "${USER_ID}:${GROUP_ID}" /workspace
|
&& chown "${USER_ID}:${GROUP_ID}" /workspace
|
||||||
|
|
||||||
# Remove sudo to ensure no root escalation is possible at runtime
|
# Remove sudo to ensure no root escalation is possible at runtime (if installed)
|
||||||
RUN apt-get remove -y sudo && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
|
RUN apt-get remove -y sudo 2>/dev/null || true && apt-get autoremove -y 2>/dev/null || true && rm -rf /var/lib/apt/lists/* 2>/dev/null || true
|
||||||
|
|
||||||
ENV SHELL=/usr/bin/zsh \
|
ENV SHELL=/usr/bin/zsh \
|
||||||
AQUA_GLOBAL_CONFIG=/home/${USERNAME}/.config/aquaproj-aqua/aqua.yaml \
|
AQUA_GLOBAL_CONFIG=/home/${USERNAME}/.config/aquaproj-aqua/aqua.yaml \
|
||||||
|
|||||||
Reference in New Issue
Block a user