Skip to content

Commit

Permalink
Detail Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mtweeman committed Sep 4, 2024
1 parent 25aa2d2 commit 978d3f3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# source: https://github.com/cloudposse/geodesic#customizing-your-docker-image

ARG GEODESIC_REPOSITORY=cloudposse/geodesic
ARG GEODESIC_TAG=3.2.0-debian
ARG GEODESIC_TAG=3.1.0-debian

# renovate: datasource=github-releases depName=jdx/mise
ARG MISE_VERSION=v2024.5.17
Expand All @@ -14,10 +14,11 @@ ENV BANNER="local-dev"
ENV DOCKER_IMAGE="mtweeman/hajle-silesia_provisioning-ld"
ENV DOCKER_TAG="latest"

# Mise installation
# source: https://mise.jdx.dev/getting-started.html
ARG MISE_VERSION
SHELL ["/bin/bash", "-c"]
RUN curl https://mise.run | MISE_INSTALL_PATH=/usr/local/bin/mise MISE_VERSION="${MISE_VERSION}" sh
RUN echo 'eval "$(/usr/local/bin/mise activate bash)"' >> ~/.profile
ARG MISE_INSTALL_PATH="/usr/local/bin/mise"
RUN curl https://mise.run | MISE_INSTALL_PATH="${MISE_INSTALL_PATH}" MISE_VERSION="${MISE_VERSION}" sh
RUN echo "eval \"\$(${MISE_INSTALL_PATH} activate bash)\"" >> ~/.profile
COPY .mise.toml /etc/mise/config.toml
RUN mise install -y
CMD ["-l"]
RUN mise install --yes

0 comments on commit 978d3f3

Please sign in to comment.