Block a user
claude-devcontainer (ec688e1c6a23b0235e0fc90a6e853f2e25e9b59b)
Published 2026-08-03 14:54:36 +00:00 by robert
Installation
docker pull pages.butzei.de/robert/claude-devcontainer:ec688e1c6a23b0235e0fc90a6e853f2e25e9b59bsha256:9b571a60e00c45b0ef8ca2efa0d241a10b81c7bbda8832e41e400292fe6e2ba4
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f in / |
| CMD ["/bin/bash"] |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu74 libssl3t64 libstdc++6 tzdata tzdata-legacy && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=10.0.9 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=10.0.9 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=false DOTNET_NOLOGO=true DOTNET_SDK_VERSION=10.0.301 DOTNET_USE_POLLING_FILE_WATCHER=true NUGET_XMLDOC_MODE=skip POWERSHELL_DISTRIBUTION_CHANNEL=PSDocker-DotnetSDK-Ubuntu-24.04 DOTNET_ROLL_FORWARD=Major |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git libatomic1 wget && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dnx /usr/bin/dnx && dotnet help # buildkit |
| RUN /bin/sh -c powershell_version=7.6.2 && curl --fail --show-error --location --output PowerShell.Linux.x64.$powershell_version.nupkg https://powershellinfraartifacts-gkhedzdeaghdezhr.z01.azurefd.net/tool/$powershell_version/PowerShell.Linux.x64.$powershell_version.nupkg && powershell_sha512='c97cbad25218d4e5048ec827f15c2a86df893e6f0a36511005cdf0321f4e1c630cdfd0fc78ad8b82ce75ba6e0a218c35e6bada88a0c2caac91af381642c55720' && echo "$powershell_sha512 PowerShell.Linux.x64.$powershell_version.nupkg" | sha512sum -c - && mkdir --parents /usr/share/powershell && dotnet tool install --add-source / --tool-path /usr/share/powershell --version $powershell_version PowerShell.Linux.x64 && dotnet nuget locals all --clear && rm PowerShell.Linux.x64.$powershell_version.nupkg && ln -s /usr/share/powershell/pwsh /usr/bin/pwsh && chmod 755 /usr/share/powershell/pwsh && chmod 755 /usr/share/powershell/.store/powershell.linux.x64/$powershell_version/powershell.linux.x64/$powershell_version/tools/*/any/pwsh && find /usr/share/powershell -print | grep -i '.*[.]nupkg$' | xargs rm # buildkit |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl git gnupg ca-certificates postgresql-client sudo && curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" > /etc/apt/sources.list.d/github-cli.list && apt-get update && apt-get install -y --no-install-recommends gh && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c npm install -g @anthropic-ai/claude-code # buildkit |
| ARG DEV_UID=1000 |
| ARG DEV_GID=1000 |
| RUN |2 DEV_UID=1000 DEV_GID=1000 /bin/sh -c if ! getent group ${DEV_GID} >/dev/null; then groupadd -g ${DEV_GID} dev; elif ! getent group dev >/dev/null; then groupmod -n dev "$(getent group ${DEV_GID} | cut -d: -f1)"; fi && if ! getent passwd ${DEV_UID} >/dev/null; then useradd -u ${DEV_UID} -g ${DEV_GID} -m -s /bin/bash dev; elif ! getent passwd dev >/dev/null; then old="$(getent passwd ${DEV_UID} | cut -d: -f1)"; usermod -l dev -g ${DEV_GID} -d /home/dev -m "$old" && chsh -s /bin/bash dev; fi # buildkit |
| ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright |
| RUN |2 DEV_UID=1000 DEV_GID=1000 /bin/sh -c npm install -g playwright && playwright install chromium firefox --with-deps && npm uninstall -g playwright && chmod -R a+rX /ms-playwright # buildkit |
| COPY setup-claude.sh /usr/local/bin/setup-claude.sh # buildkit |
| COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh # buildkit |
| RUN |2 DEV_UID=1000 DEV_GID=1000 /bin/sh -c chmod +x /usr/local/bin/setup-claude.sh /usr/local/bin/docker-entrypoint.sh && echo "dev ALL=(root) NOPASSWD: /usr/local/bin/setup-claude.sh" > /etc/sudoers.d/dev-claude && chmod 440 /etc/sudoers.d/dev-claude # buildkit |
| USER dev |
| ENV HOME=/home/dev |
| RUN |2 DEV_UID=1000 DEV_GID=1000 /bin/sh -c dotnet tool install --global dotnet-ef # buildkit |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/dev/.dotnet/tools |
| WORKDIR /workspace |
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] |
| CMD ["sleep" "infinity"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.version | 24.04 |
Details
2026-08-03 14:54:36 +00:00
Versions (7)
View all
Container
0
OCI / Docker
linux/amd64
1.1 GiB
latest
2026-08-08
01e627a57a1e54631ac896b9b44ccdadd67b95f6
2026-08-08
c3008b893b85372210ee00710bb6b1934fe710ea
2026-08-08
5f92a3e4
2026-08-07
8c9bab1c66583a467400974f6a3db52997863c10
2026-08-07