# syntax=docker/dockerfile:1.3-labs # NOTE: Building this image requires Docker version >= 23.0. # Stage 1: Build environment ARG TAG_VERSION ARG BASE FROM ${BASE}:${TAG_VERSION} # Install micromamba silently WORKDIR /root ENV BIN_FOLDER=/usr/local/bin ENV INIT_YES=yes ENV CONDA_FORGE_YES=yes ENV PREFIX_LOCATION=/opt/micromamba RUN < ~/.pip/pip.conf [global] index-url = https://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com EOF EOT