Created
February 27, 2025 12:56
-
-
Save salzig/d4037e93307cc871f683c9de4fea043a to your computer and use it in GitHub Desktop.
Dockerfile based on Debian Bookworm Slim with mise (asdf alternative) installed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:12.9-slim | |
RUN apt update -y && apt install --no-install-recommends --yes gpg sudo wget curl ca-certificates build-essential git libssl-dev libncurses-dev | |
RUN install -dm 755 /etc/apt/keyrings && \ | |
curl -k https://mise.jdx.dev/gpg-key.pub | gpg --dearmor > /etc/apt/keyrings/mise-archive-keyring.gpg && \ | |
echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg] https://mise.jdx.dev/deb stable main" > /etc/apt/sources.list.d/mise.list | |
ENV MISE_DATA_DIR="/mise" | |
ENV MISE_CONFIG_DIR="/mise" | |
ENV MISE_CACHE_DIR="/mise/cache" | |
ENV MISE_INSTALL_PATH="/usr/local/bin/mise" | |
ENV PATH="/mise/shims:$PATH" | |
RUN apt update && apt install --yes mise |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment