Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Bearson
docker-science-stack
Commits
fc7869ea
Commit
fc7869ea
authored
Jul 20, 2016
by
Nick Bearson
Browse files
removing openDAP (& curl dependency) from the netcdf library
parent
0447870e
Pipeline
#713
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
fc7869ea
...
...
@@ -71,17 +71,18 @@ RUN cd /build && tar xzf netcdf-${NC4C_VERSION}.tar.gz && \
CPPFLAGS
=
"-I/usr/include -I/usr/lib/x86_64-linux-gnu"
\
LDFLAGS
=
"-L/usr/lib -L/usr/lib/x86_64-linux-gnu"
\
LD_LIBRARY_PATH
=
/usr/lib:/usr/lib/x86_64-linux-gnu
\
LIBS
=
"-ldf -lhdf5_hl -lhdf5 -ljpeg -ldl -lm -lz
-lcurl
"
\
./configure
--prefix
=
"/usr"
--enable-hdf4
--
en
able-
fortran
--disable-shared
--with-pic
&&
make
-j4
&&
make
install
LIBS
=
"-ldf -lhdf5_hl -lhdf5 -ljpeg -ldl -lm -lz"
\
./configure
--prefix
=
"/usr"
--enable-hdf4
--
dis
able-
dap
--disable-shared
--with-pic
&&
make
-j4
&&
make
install
# add netcdf-fortran
# compiling against this requires -lnetcdff (note the extra f)
RUN
cd
/build
&&
tar
xzf netcdf-fortran-
${
NC4F_VERSION
}
.tar.gz
&&
\
cd
netcdf-fortran-
${
NC4F_VERSION
}
&&
\
CPPFLAGS
=
"-I/usr/include -I/usr/lib/x86_64-linux-gnu"
\
LDFLAGS
=
"-L/usr/lib -L/usr/lib/x86_64-linux-gnu"
\
LD_LIBRARY_PATH
=
/usr/lib:/usr/lib/x86_64-linux-gnu
\
LIBS
=
"-lnetcdf -ldf -lhdf5_hl -lhdf5 -ljpeg -ldl -lm -lz
-lcurl
"
\
./configure
--
disable-shared
--prefix
=
"/usr"
--with-pic
&&
make
-j4
&&
make
install
LIBS
=
"-lnetcdf -ldf -lhdf5_hl -lhdf5 -ljpeg -ldl -lm -lz"
\
./configure
--
prefix
=
"/usr"
--disable-dap
--disable-shared
--with-pic
&&
make
-j4
&&
make
install
# remove all the build cruft
RUN
rm
-rf
/build
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment