Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-geo-gridded-glm
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
cspp-geo-gridded-glm
Merge requests
!18
swap miniconda for mambaforge & mamba
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
swap miniconda for mambaforge & mamba
2021-11-30-mamba
into
master
Overview
3
Commits
1
Pipelines
0
Changes
1
Merged
Nick Bearson
requested to merge
2021-11-30-mamba
into
master
3 years ago
Overview
3
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c889a727
1 commit,
3 years ago
1 file
+
9
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
buildbucket/Dockerfile
+
9
−
7
Options
@@ -10,11 +10,13 @@ COPY package.sh .
# Install the `which` command for debugging
RUN
yum
-y
install
which git
&&
yum clean all
# Download and install mini
conda
#
Copied from
https://hub.
docker.
com/
r/
con
tinuumio/miniconda3/dockerfile)
RUN
curl
-
o
miniconda.sh https://repo.anaconda
.com/
mini
conda
/Miniconda3-latest-Linux-x86_64
.sh
&&
\
/bin/bash
miniconda
.sh
-b
-p
$HOME
/mini
conda
&&
\
ln
-s
$HOME
/mini
conda
/etc/profile.d/conda.sh /etc/profile.d/conda.sh
&&
\
echo
".
$HOME
/mini
conda
/etc/profile.d/conda.sh"
>>
~/.bashrc
&&
\
# Download and install mini
forge
# https://
git
hub.com/con
da-forge/miniforge#miniforge
RUN
curl
-
L
-O
https://github
.com/conda
-forge/miniforge/releases/latest/download/Mambaforge-
$(
uname
)
-
$(
uname
-m
)
.sh
&&
\
/bin/bash
Mambaforge-
$(
uname
)
-
$(
uname
-m
)
.sh
-b
-p
$HOME
/mini
forge
&&
\
ln
-s
$HOME
/mini
forge
/etc/profile.d/conda.sh /etc/profile.d/conda.sh
&&
\
echo
".
$HOME
/mini
forge
/etc/profile.d/conda.sh"
>>
~/.bashrc
&&
\
echo
"conda activate base"
>>
~/.bashrc
RUN
/bin/bash
-c
"
$HOME
/miniconda/bin/conda env create -n build -f buildbucket_environment.yaml"
RUN
/bin/bash
-c
"
$HOME
/miniforge/bin/conda install mamba -n base -c conda-forge"
RUN
/bin/bash
-c
"
$HOME
/miniforge/bin/mamba env create -n build -f buildbucket_environment.yaml"
Loading