Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DEAP
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Vasile Crăciunescu
DEAP
Commits
9111c819
Commit
9111c819
authored
3 years ago
by
Marian Neagul
Browse files
Options
Downloads
Patches
Plain Diff
[swith to core]
parent
4134681f
Branches
master
No related merge requests found
Pipeline
#255
passed with stage
in 5 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+8
-23
8 additions, 23 deletions
Dockerfile
with
8 additions
and
23 deletions
Dockerfile
+
8
−
23
View file @
9111c819
FROM
ubuntu
as
BASE
ENV
PATH="/root/miniconda3/bin:${PATH}"
ARG
PATH="/root/miniconda3/bin:${PATH}"
RUN
apt-get update
RUN
apt-get
install
-y
wget
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
wget
\
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
\
&&
mkdir
/root/.conda
\
&&
bash Miniconda3-latest-Linux-x86_64.sh
-b
\
&&
rm
-f
Miniconda3-latest-Linux-x86_64.sh
\
&&
echo
PATH
=
"/root/miniconda3/bin"
:
$PATH
>>
.bashrc
\
&&
exec
bash
\
&&
conda
--version
#####
# This is the main container
####
FROM
ubuntu
COPY
--from=BASE /root /root
RUN
apt-get update
&&
\
apt-get
install
-y
wget
&&
\
rm
-rf
/var/lib/apt/lists/
*
FROM
continuumio/anaconda3
RUN
conda create
--name
gdalenv
-y
-c
conda-forge gdal
ENV
CONDA_DEFAULT_ENV="gdalenv"
ENV
CONDA_PREFIX="/opt/conda/envs/gdalenv"
ENV
CONDA_PROMPT_MODIFIER="(gdalenv) "
ENV
GDAL_DATA="/opt/conda/envs/gdalenv/share/gdal"
ENV
PATH="/opt/conda/envs/gdalenv/bin:/opt/conda/condabin:/opt/conda/bin:${PATH}"
ENV
PROJ_LIB="/opt/conda/envs/gdalenv/share/proj"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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