feat(toolbox): update toolbox template configuration
- Update ToolboxStack/output/toolbox-template/Dockerfile with latest configuration - Add ToolboxStack/output/toolbox-template/release.sh for release management - Refine template functionality and ensure proper operations - Align with project standards and conventions This enhances the ToolboxStack template for creating new developer environments.
This commit is contained in:
		| @@ -14,8 +14,7 @@ RUN if getent passwd "${USER_ID}" >/dev/null; then \ | ||||
|     && if ! getent group "${GROUP_ID}" >/dev/null; then \ | ||||
|         groupadd --gid "${GROUP_ID}" "${USERNAME}"; \ | ||||
|     fi \ | ||||
|     && useradd --uid "${USER_ID}" --gid "${GROUP_ID}" --shell /usr/bin/zsh --create-home "${USERNAME}" \ | ||||
|     && usermod -aG sudo "${USERNAME}" 2>/dev/null || true | ||||
|     && useradd --uid "${USER_ID}" --gid "${GROUP_ID}" --shell /usr/bin/zsh --create-home "${USERNAME}" | ||||
|  | ||||
| # Remove sudo to ensure no root escalation is possible at runtime | ||||
| 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user