Skip to content

Commit

Permalink
Update to micromamba 2.0.2 Docker image. (#3904)
Browse files Browse the repository at this point in the history
* Update to micromamba 2.0.2 Docker image.

* Move definition of CONTAINER_HOME to top of Dockerfile.
  • Loading branch information
zaneselvans authored Oct 10, 2024
1 parent b05ee89 commit c8df247
Show file tree
Hide file tree
Showing 6 changed files with 491 additions and 493 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repos:

# Lint Dockerfiles for errors and to ensure best practices
- repo: https://github.com/AleksaC/hadolint-py
rev: v2.12.0.3
rev: v2.12.1b3
hooks:
- id: hadolint

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM mambaorg/micromamba:1.5.10
FROM mambaorg/micromamba:2.0.2

ENV CONTAINER_HOME=/home/$MAMBA_USER
ENV PGDATA=${CONTAINER_HOME}/pgdata

USER root
Expand Down Expand Up @@ -29,7 +30,6 @@ RUN pg_createcluster 15 dagster -u "$MAMBA_USER" -- -A trust

# Switch back to being non-root user and get into the home directory
USER $MAMBA_USER
ENV CONTAINER_HOME=/home/$MAMBA_USER
WORKDIR ${CONTAINER_HOME}

ENV CONDA_PREFIX=${CONTAINER_HOME}/env
Expand Down
58 changes: 29 additions & 29 deletions environments/conda-linux-64.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c8df247

Please sign in to comment.