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
Commits
c889a727
Commit
c889a727
authored
3 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
swap miniconda for mambaforge & mamba
parent
803c0769
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!18
swap miniconda for mambaforge & mamba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildbucket/Dockerfile
+9
-7
9 additions, 7 deletions
buildbucket/Dockerfile
with
9 additions
and
7 deletions
buildbucket/Dockerfile
+
9
−
7
View file @
c889a727
...
...
@@ -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"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment