Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-science-stack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Show more breadcrumbs
Nick Bearson
docker-science-stack
Commits
7a3645c8
Commit
7a3645c8
authored
8 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
copying glance from nbearson/geocat because everyone can use it
parent
5c046606
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+23
-0
23 additions, 0 deletions
Dockerfile
with
23 additions
and
0 deletions
Dockerfile
+
23
−
0
View file @
7a3645c8
...
@@ -102,6 +102,29 @@ RUN mkdir -p ${BUILD} ${OPT}/netcdf4 && cd ${BUILD} && \
...
@@ -102,6 +102,29 @@ RUN mkdir -p ${BUILD} ${OPT}/netcdf4 && cd ${BUILD} && \
cp
config.log
${
OPT
}
/netcdf4/config.log-netcdff-
${
NC4F_VERSION
}
&&
\
cp
config.log
${
OPT
}
/netcdf4/config.log-netcdff-
${
NC4F_VERSION
}
&&
\
rm
-rf
${
BUILD
}
rm
-rf
${
BUILD
}
## add uwglance for verifying data, etc.
RUN
apt-get
install
-y
python-setuptools python-numpy python-scipy python-matplotlib python-mpltoolkits.basemap
RUN
easy_install
-f
http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
## add pyhdf for glance to read hdf4 files
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
wget http://hdfeos.org/software/pyhdf/pyhdf-
${
PYHDF_VERSION
}
.tar.gz
&&
\
tar
xzf pyhdf-
${
PYHDF_VERSION
}
.tar.gz
&&
\
cd
pyhdf-
${
PYHDF_VERSION
}
&&
\
INCLUDE_DIRS
=
"
${
OPT
}
/hdf4/include/"
\
LIBRARY_DIRS
=
"
${
OPT
}
/hdf4/lib/"
\
python setup.py
install
&&
\
rm
-r
${
BUILD
}
## add netcdf4-python for glance to read netcdf4 files
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
wget https://github.com/Unidata/netcdf4-python/archive/v
${
NETCDFPY_VERSION
}
.tar.gz
&&
\
tar
xzf v
${
NETCDFPY_VERSION
}
.tar.gz
&&
\
cd
netcdf4-python-
${
NETCDFPY_VERSION
}
&&
\
PATH
=
"
${
OPT
}
/netcdf4/bin:
$PATH
"
\
python setup.py
install
&&
\
rm
-r
${
BUILD
}
# throw in some shell niceties
# throw in some shell niceties
RUN
echo
'alias ls="ls --color=auto"'
>>
~/.bashrc
&&
\
RUN
echo
'alias ls="ls --color=auto"'
>>
~/.bashrc
&&
\
echo
'alias ll="ls -lGh $@"'
>>
~/.bashrc
echo
'alias ll="ls -lGh $@"'
>>
~/.bashrc
...
...
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