Sign inSign up

sbx/mise-kit:20260813-f5a0c3972db1c22d342a2bbfbad0aeef8bb49bd7

Manifest digest

sha256:ce0b26dddc7ba53e04a37477675cf56ba220a31e4c8b7617e3d3cdbc474e814a

Last pushed

about 1 month by dockerpublicbot

Type

Sandbox Kit

Manifest digest

sha256:ce0b26dddc7ba53e04a37477675cf56ba220a31e4c8b7617e3d3cdbc474e814a

yaml
schemaVersion: "2"
kind: mixin
name: mise
displayName: mise (mise-en-place)
description: The polyglot dev-tool version manager (https://mise.jdx.dev) — installs the mise CLI and wires up shell activation so the agent can run `mise install`, `mise use`, and per-project `.mise.toml` resolutions in the sandbox.
permissions:
    network:
        allow:
            - github.com
            - api.github.com
            - objects.githubusercontent.com
            - release-assets.githubusercontent.com
environment:
    variables:
        MISE_TRUSTED_CONFIG_PATHS: /
setup:
    install:
        - command: |
            set -euo pipefail
            MISE_VERSION=2026.5.2
            ARCH=$(dpkg --print-architecture)
            case "$ARCH" in
              amd64)
                TARBALL="mise-v${MISE_VERSION}-linux-x64.tar.gz"
                SHA256="cdf616b3d8554bece574cb1a5c0f19cc0f551dffbecf66037df1cc06569a42ef"
                ;;
              arm64)
                TARBALL="mise-v${MISE_VERSION}-linux-arm64.tar.gz"
                SHA256="a746ad85fe8a7b62a6c72939da5fb4231074fd16c482f6334a598bd92926f41e"
                ;;
              *)
                echo "unsupported sandbox arch: $ARCH (expected amd64 or arm64)" >&2
                exit 1
                ;;
            esac
            URL="https://github.com/jdx/mise/releases/download/v${MISE_VERSION}/${TARBALL}"
            curl --proto '=https' --tlsv1.2 -fsSL -o /tmp/mise.tgz "$URL"
            echo "${SHA256}  /tmp/mise.tgz" | sha256sum -c -
            tar -C /tmp -xzf /tmp/mise.tgz mise/bin/mise
            install -m 0755 /tmp/mise/bin/mise /usr/local/bin/mise
            rm -rf /tmp/mise /tmp/mise.tgz
            mise --version
          user: "0"
          description: Install mise CLI v2026.5.2, version+digest pinned
        - command: |
            set -euo pipefail
            grep -qF 'mise activate bash' ~/.bashrc 2>/dev/null || \
              printf '\n# mise (added by sbx-kits-contrib/mise)\neval "$(mise activate bash)"\n' >> ~/.bashrc
          user: "1000"
          description: Hook `mise activate bash` into ~/.bashrc for interactive shells