From 7f2c4ab50d0601400459a297c984e5bbd9272052 Mon Sep 17 00:00:00 2001 From: Cesar Flores Date: Fri, 6 Mar 2026 00:56:17 +0700 Subject: [PATCH] fix: update Dockerfile to set correct installation path and permissions for mise --- Dockerfile | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5946934..6bb2352 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ ENV TOOLS_DIR="${TOOLS_DIR}" ENV MISE_DATA_DIR="${TOOLS_DIR}" ENV MISE_CONFIG_DIR="${TOOLS_DIR}/config" ENV MISE_CACHE_DIR="${TOOLS_DIR}/cache" -ENV MISE_INSTALL_PATH=/usr/local/bin/mise +ENV MISE_INSTALL_PATH="${TOOLS_DIR}/bin/mise" ENV PATH="${TOOLS_DIR}/shims:${PATH}" ENV MISE_GITHUB_ATTESTATIONS=false ENV MISE_VERSION=${MISE_VERSION} @@ -25,5 +25,5 @@ COPY mise.toml ${TOOLS_DIR}/config/mise.toml RUN sh -c "\ rm -rf ${TOOLS_DIR}/shims ${TOOLS_DIR}/installs \ && mise install \ - && chmod 755 ${TOOLS_DIR}/shims/* \ + && chmod 755 ${TOOLS_DIR}/bin/mise ${TOOLS_DIR}/shims/* \ " diff --git a/README.md b/README.md index ad1212b..5d311e1 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,10 @@ services: - dev-tools:/tools:ro ``` -Add `/tools/shims` to `PATH` in your container's Dockerfile: +Add `/tools/shims` and `/tools/bin` to `PATH` in your container's Dockerfile: ```dockerfile -ENV PATH="/tools/shims:${PATH}" +ENV PATH="/tools/shims:/tools/bin:${PATH}" ``` All dev-tools are now available in your container.