From de9854ac41c1014a564bc88e0db4e9b858ce6fef Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Tue, 7 May 2024 12:28:41 +0000 Subject: [PATCH] feat(mise): enable .env file load through mise (#44) Enable [`mise` autoload `.env`][0] feature in any directory. Also, add [`kind`][1] for local `kubernetes` development. Reviewed-on: https://gitea.dubas.dev/joao.dubas/ide/pulls/44 [0]: https://mise.jdx.dev/environments.html#env-file [1]: https://kind.sigs.k8s.io/ Co-authored-by: Joao P Dubas Co-committed-by: Joao P Dubas --- Dockerfile | 2 ++ config/mise/config.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 91be22d..cda1dd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -159,6 +159,7 @@ RUN mkdir -p ${HOME}/.local/src \ RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls # command line utilities +ENV MISE_ENV_FILE .env RUN curl https://mise.jdx.dev/install.sh | sh \ && curl -sS https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | bash \ && git clone https://github.com/tmux-plugins/tpm.git ${XDG_CONFIG_HOME}/tmux/plugins/tpm @@ -198,6 +199,7 @@ RUN ${LOCAL_BIN_HOME}/mise plugins install --force --yes \ k3d \ k3sup \ k9s \ + kind \ kubectl \ kubie \ lefthook \ diff --git a/config/mise/config.toml b/config/mise/config.toml index 898659d..cca4050 100644 --- a/config/mise/config.toml +++ b/config/mise/config.toml @@ -12,6 +12,7 @@ helm = "3.14.3" k3d = "5.6.0" k3sup = "0.13.5" k9s = "0.32.3" +kind = "0.22.0" kubectl = "1.29.3" kubie = "0.23.0" lefthook = "1.6.7"