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
0f0b07c6
Commit
0f0b07c6
authored
8 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
adds the NCO utilities
parent
7a3645c8
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
+9
-0
9 additions, 0 deletions
Dockerfile
with
9 additions
and
0 deletions
Dockerfile
+
9
−
0
View file @
0f0b07c6
...
...
@@ -13,6 +13,7 @@ ENV HDF4_VERSION 4.2.12
ENV
HDF5_VERSION 1.8.17
ENV
NC4F_VERSION 4.4.4
ENV
NC4C_VERSION 4.4.1
ENV
NCO_VERSION 4.6.1
# grab some packages we need
RUN
apt-get update
&&
apt-get
install
-y
byacc bison diffutils flex make
...
...
@@ -102,6 +103,14 @@ RUN mkdir -p ${BUILD} ${OPT}/netcdf4 && cd ${BUILD} && \
cp
config.log
${
OPT
}
/netcdf4/config.log-netcdff-
${
NC4F_VERSION
}
&&
\
rm
-rf
${
BUILD
}
# add the nco utilities for basic netcdf manipulation
RUN
mkdir
-p
${
BUILD
}
${
OPT
}
/nco
&&
cd
${
BUILD
}
&&
\
curl
-OL
https://github.com/nco/nco/archive/
${
NCO_VERSION
}
.tar.gz
&&
\
cd
nco-
${
NCO_VERSION
}
&&
\
NETCDF_ROOT
=
${
OPT
}
/netcdf4 ./configure
--prefix
=
${
OPT
}
/nco
&&
\
make
&&
make
install
&&
\
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
...
...
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