forked from leap-stc/test-image-balwada
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa46e3a
commit 6cf9753
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM apache/beam_python3.10_sdk:2.59.0 | ||
|
||
# Install mamba using micromamba | ||
# Install mamba using Micromamba installer | ||
RUN apt-get update && apt-get install -y curl | ||
RUN curl -fsSL https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba -O > /usr/local/bin/micromamba && chmod +x /usr/local/bin/micromamba | ||
RUN /usr/local/bin/micromamba install -c conda-forge mamba -y | ||
RUN curl -fsSL https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj bin/micromamba -O > /usr/local/bin/micromamba && chmod +x /usr/local/bin/micromamba | ||
RUN /usr/local/bin/micromamba shell init -p /opt/conda -s bash | ||
|
||
COPY environment.yml /tmp/environment.yml | ||
|
||
RUN micromamba env update --prefix ${CONDA_DIR} --file /tmp/environment.yml | ||
RUN /usr/local/bin/micromamba env update -f /tmp/environment.yml |