Skip to content

Commit

Permalink
Update to micromamba version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wholtz authored and github-actions[bot] committed Sep 25, 2024
1 parent 37bfa82 commit 4b6f8e7
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This change log covers changes to the docker image and does not include
[changes to the micromamba program](https://github.com/mamba-org/mamba/blob/main/CHANGELOG.md).

## 25 September 2024

- Updated to micromamba version 2.0.0

## 20 September 2024

- Updated to micromamba version 1.5.10
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG BASE_IMAGE=debian:bookworm-slim
# Mutli-stage build to keep final image small. Otherwise end up with
# curl and openssl installed
FROM --platform=$BUILDPLATFORM $BASE_IMAGE AS stage1
ARG VERSION=1.5.10
ARG VERSION=2.0.0

# hadolint ignore=DL3018
RUN if grep -q '^ID=alpine$' /etc/os-release; then \
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = 'micromamba-docker'
copyright = '2023, micromamba documentation contributors'
author = 'micromamba documentation contributors'
release = '1.5.10'
release = '2.0.0'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
2 changes: 1 addition & 1 deletion examples/add_micromamba/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# bring in the micromamba image so we can copy files from it
FROM mambaorg/micromamba:1.5.10 as micromamba
FROM mambaorg/micromamba:2.0.0 as micromamba

# This is the image we are going add micromaba to:
FROM tomcat:9-jdk17-temurin-focal
Expand Down
2 changes: 1 addition & 1 deletion examples/apt_install/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0

COPY --chown=$MAMBA_USER:$MAMBA_USER env.yaml /tmp/env.yaml
RUN micromamba install -y -n base -f /tmp/env.yaml && \
Expand Down
2 changes: 1 addition & 1 deletion examples/cmdline_spec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
RUN micromamba install -y -n base -c conda-forge \
pyopenssl=20.0.1 \
python=3.9.1 \
Expand Down
2 changes: 1 addition & 1 deletion examples/generate_lock/generate_lock.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker run --rm -v "$(pwd):/tmp" \
mambaorg/micromamba:1.5.10 /bin/bash -c "\
mambaorg/micromamba:2.0.0 /bin/bash -c "\
micromamba create --yes --name new_env --file env.yaml \
&& micromamba env export --name new_env --explicit" > env.lock
2 changes: 1 addition & 1 deletion examples/install_lock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
COPY --chown=$MAMBA_USER:$MAMBA_USER env.lock /tmp/env.lock
RUN micromamba install --name base --yes --file /tmp/env.lock \
&& micromamba clean --all --yes
2 changes: 1 addition & 1 deletion examples/modify_username/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
ARG NEW_MAMBA_USER=new-username
ARG NEW_MAMBA_USER_ID=57440
ARG NEW_MAMBA_USER_GID=57440
Expand Down
2 changes: 1 addition & 1 deletion examples/multi_env/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
COPY --chown=$MAMBA_USER:$MAMBA_USER env1.yaml /tmp/env1.yaml
COPY --chown=$MAMBA_USER:$MAMBA_USER env2.yaml /tmp/env2.yaml
RUN micromamba create -y -f /tmp/env1.yaml && \
Expand Down
2 changes: 1 addition & 1 deletion examples/new_lock/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
COPY --chown=$MAMBA_USER:$MAMBA_USER env.lock /tmp/env.lock
RUN micromamba create --name my_env_name --yes --file /tmp/env.lock \
&& micromamba clean --all --yes
2 changes: 1 addition & 1 deletion examples/run_activate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
COPY --chown=$MAMBA_USER:$MAMBA_USER env.yaml /tmp/env.yaml
RUN micromamba install --yes --file /tmp/env.yaml && \
micromamba clean --all --yes
Expand Down
2 changes: 1 addition & 1 deletion examples/yaml_spec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.0
COPY --chown=$MAMBA_USER:$MAMBA_USER env.yaml /tmp/env.yaml
RUN micromamba install -y -n base -f /tmp/env.yaml && \
micromamba clean --all --yes

0 comments on commit 4b6f8e7

Please sign in to comment.