Block a user
hefestia-base (latest)
Published 2026-04-21 00:30:49 +02:00 by millaguie
Installation
docker pull tea.millaguie.net/millaguie/hefestia-base:latestsha256:b396fdc94f7c61f5c0e12370b85c745599fa105700471817978805ebd3afb4f3
Image Layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:8ce1caf246e7c778bca84c516d02fd4e83766bb2c530a0fffa8a351b560a2728 in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| SHELL [/bin/bash -euo pipefail -c] |
| RUN /bin/bash -euo pipefail -c apt-get update && apt-get install -y --no-install-recommends curl git ca-certificates build-essential gnupg jq sudo ripgrep inotify-tools && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/bash -euo pipefail -c mkdir -p /usr/local/share/mise && curl -fsSL https://mise.run | MISE_INSTALL_PATH=/usr/local/bin/mise MISE_HOME=/usr/local/share/mise sh # buildkit |
| ENV MISE_HOME=/usr/local/share/mise |
| ENV MISE_DATA_DIR=/data/mise |
| ENV PATH=/data/mise/shims:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN /bin/bash -euo pipefail -c echo '#!/bin/bash' > /etc/profile.d/mise.sh && echo 'export MISE_DATA_DIR=/data/mise' >> /etc/profile.d/mise.sh && echo 'eval "$(mise activate bash)"' >> /etc/profile.d/mise.sh && chmod +x /etc/profile.d/mise.sh # buildkit |
| RUN /bin/bash -euo pipefail -c printf '\n# mise runtime manager\nsource /etc/profile.d/mise.sh\n' >> /etc/skel/.bashrc # buildkit |
| RUN /bin/bash -euo pipefail -c EGET_VERSION="1.3.4" && curl -fsSL "https://github.com/zyedidia/eget/releases/download/v${EGET_VERSION}/eget-${EGET_VERSION}-linux_amd64.tar.gz" -o /tmp/eget.tar.gz && tar -xzf /tmp/eget.tar.gz -C /tmp --strip-components=1 "eget-${EGET_VERSION}-linux_amd64/eget" && mv /tmp/eget /usr/local/bin/eget && rm /tmp/eget.tar.gz # buildkit |
| RUN /bin/bash -euo pipefail -c { echo 'coder ALL=(ALL) NOPASSWD: /usr/bin/apt-get'; echo 'coder ALL=(ALL) NOPASSWD: /usr/bin/chown'; echo 'coder ALL=(ALL) NOPASSWD: /usr/bin/find'; } > /etc/sudoers.d/coder-setup && chmod 440 /etc/sudoers.d/coder-setup # buildkit |
| RUN /bin/bash -euo pipefail -c OPENCODE_VERSION=$(curl -sL "https://api.github.com/repos/anomalyco/opencode/releases/latest" | jq -r '.tag_name') && curl -fsSL "https://github.com/anomalyco/opencode/releases/latest/download/opencode-linux-x64.tar.gz" -o /tmp/opencode.tar.gz && tar -xzf /tmp/opencode.tar.gz -C /tmp && mv /tmp/opencode /usr/local/bin/opencode && chmod +x /usr/local/bin/opencode && rm /tmp/opencode.tar.gz && opencode --version # buildkit |
| RUN /bin/bash -euo pipefail -c mkdir -p /usr/local/share/opencode/instructions # buildkit |
| COPY docker/hefestia-system.md /usr/local/share/opencode/instructions/hefestia-system.md # buildkit |
| COPY docker/hefestia-mise-skill.md /usr/local/share/opencode/instructions/hefestia-mise-skill.md # buildkit |
| RUN /bin/bash -euo pipefail -c groupadd -r coder && useradd -r -g coder -m -s /bin/bash coder && mkdir -p /workspace /data/mise && chown coder:coder /workspace /data /data/mise # buildkit |
| ENV HOME=/workspace XDG_DATA_HOME=/data/opencode/share XDG_CONFIG_HOME=/data/opencode/config XDG_STATE_HOME=/data/opencode/state XDG_CACHE_HOME=/data/opencode/cache |
| COPY docker/entrypoint-project.sh /usr/local/bin/entrypoint.sh # buildkit |
| RUN /bin/bash -euo pipefail -c chmod +x /usr/local/bin/entrypoint.sh # buildkit |
| USER coder |
| WORKDIR /workspace |
| EXPOSE [8080/tcp] |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
| CMD ["--port" "8080" "--hostname" "0.0.0.0"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.version | 24.04 |