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
19f74193
Verified
Commit
19f74193
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Update buildbucket Dockerfile to source conda better
parent
7be6a076
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
buildbucket/Dockerfile
+8
-6
8 additions, 6 deletions
buildbucket/Dockerfile
with
8 additions
and
6 deletions
buildbucket/Dockerfile
+
8
−
6
View file @
19f74193
# To build:
# docker build -t gitlab.ssec.wisc.edu:5555/cspp_geo/cspp-geo-gridded-glm/buildbucket .
FROM
centos:7
FROM
centos:7
WORKDIR
/work
WORKDIR
/work
...
@@ -7,10 +9,10 @@ COPY package.sh .
...
@@ -7,10 +9,10 @@ COPY package.sh .
# Download miniconda
# Download miniconda
RUN
curl
-o
miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN
curl
-o
miniconda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
# Install miniconda
# Install miniconda
(copied from https://hub.docker.com/r/continuumio/miniconda3/dockerfile)
RUN
bash miniconda.sh
-b
-p
$HOME
/miniconda
RUN
/bin/
bash miniconda.sh
-b
-p
$HOME
/miniconda
&&
\
ln
-s
/opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
&&
\
ENV
PATH $HOME/miniconda/bin:$PATH
echo
". /opt/conda/etc/profile.d/conda.sh"
>>
~/.bashrc
&&
\
RUN
conda
env
create
-y
-n
build
-f
buildbucket_environment.yaml
echo
"conda activate base"
>>
~/.bashrc
RUN
conda activ
ate build
RUN
/bin/bash
-c
"
$HOME
/miniconda/bin/conda env cre
ate
-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