Skip to content

Commit

Permalink
Use miniforge conda as Pyfunc ensembler service base image (#360)
Browse files Browse the repository at this point in the history
* Use miniforge conda as Pyfunc ensembler service base image

* Upgrade miniforge version for batch ensembling image
  • Loading branch information
krithika369 committed Sep 8, 2023
1 parent 67b74d0 commit f9c2a11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/pyfunc-ensembler-job/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ WORKDIR $HOME
# Install miniconda
ENV CONDA_DIR ${HOME}/miniconda3
ENV PATH ${CONDA_DIR}/bin:$PATH
ENV MINIFORGE_VERSION=4.14.0-0
ENV MINIFORGE_VERSION=23.3.1-1

RUN wget --quiet https://github.com/conda-forge/miniforge/releases/download/${MINIFORGE_VERSION}/Miniforge3-${MINIFORGE_VERSION}-Linux-x86_64.sh -O miniconda.sh && \
/bin/bash miniconda.sh -b -p ${CONDA_DIR} && \
Expand Down
4 changes: 2 additions & 2 deletions engines/pyfunc-ensembler-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM continuumio/miniconda3 AS builder
FROM condaforge/miniforge3:23.3.1-1 AS builder

ARG APP_NAME
ARG CONDA_ENV_NAME
Expand All @@ -17,4 +17,4 @@ RUN conda env create -f ./env-${PYTHON_VERSION}.yaml -n $CONDA_ENV_NAME && \
rm -rf /root/.cache

# Install conda-pack:
RUN conda install -c conda-forge conda-pack
RUN conda install conda-pack

0 comments on commit f9c2a11

Please sign in to comment.