FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ews-coordinator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gilligan Lab for Epidemiology and Modelling
Wheat rusts
ews-coordinator
Commits
24f4b2cd
Commit
24f4b2cd
authored
1 year ago
by
L. Bower
Browse files
Options
Downloads
Patches
Plain Diff
making docker build more efficient
parent
de6c8817
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
configs/docker/build/Dockerfile
+4
-3
4 additions, 3 deletions
configs/docker/build/Dockerfile
with
4 additions
and
3 deletions
configs/docker/build/Dockerfile
+
4
−
3
View file @
24f4b2cd
...
...
@@ -20,8 +20,9 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
# Install miniconda
ENV
CONDA_DIR /storage/app/miniconda3
RUN
wget
--quiet
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O
~/miniconda.sh
RUN
/bin/bash ~/miniconda.sh
-b
-p
$CONDA_DIR
RUN
wget
--quiet
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O
~/miniconda.sh
\
&&
/bin/bash ~/miniconda.sh
-b
-p
$CONDA_DIR
\
&&
rm
-v
~/miniconda.sh
;
# Put conda in path so we can use conda activate
ENV
PATH=$CONDA_DIR/bin:$PATH
...
...
@@ -29,7 +30,7 @@ ENV PATH=$CONDA_DIR/bin:$PATH
RUN
conda
env
create
--file
conda-env-py3EWS-withbuilds.yml
--prefix
/storage/app/EWS_prod/envs/conda/py3EWS
#tidy
RUN
rm
-v
~/miniconda.sh
conda-env-py3EWS-withbuilds.yml
;
RUN
rm
-v
conda-env-py3EWS-withbuilds.yml
;
#these usernames and ids match the production server (IaaS), override when building a local image if needed
ARG
GNAME=ews
...
...
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