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
bd496d6d
"git@gitlab.ssec.wisc.edu:cspp_geo/cspp-geo-gridded-glm.git" did not exist on "08aef49141b75dd491dca548149eef0e6ab8beb7"
Commit
bd496d6d
authored
6 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
builds! switches our own libjpeg build out for libjpeg-devel from debian repo
parent
50cd12b4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#3989
failed
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+24
-20
24 additions, 20 deletions
Dockerfile
with
24 additions
and
20 deletions
Dockerfile
+
24
−
20
View file @
bd496d6d
...
@@ -38,21 +38,25 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
...
@@ -38,21 +38,25 @@ RUN mkdir -p ${BUILD} && cd ${BUILD} && \
rm
-rf
${
BUILD
}
rm
-rf
${
BUILD
}
# add libjpeg
# add libjpeg
#RUN apt-get install -y jpeg-devel
# NOTE: this has moved to: http://www.ijg.org/
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
# ... can we just use the one in debian instead?
wget
-q
https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpegsrc.v
${
JPEG_VERSION
}
.tar.gz
&&
\
# https://packages.debian.org/search?keywords=libjpeg
tar
xzf jpegsrc.v
${
JPEG_VERSION
}
.tar.gz
&&
\
RUN
apt-get
install
-y
libjpeg-dev
cd
jpeg-
${
JPEG_VERSION
}
&&
\
# RUN mkdir -p ${BUILD} && cd ${BUILD} && \
./configure
&&
make
-j4
&&
make
install
&&
\
# wget -q https://www.hdfgroup.org/ftp/lib-external/jpeg/src/jpegsrc.v${JPEG_VERSION}.tar.gz && \
cp
config.log
${
OPT
}
/config.log-jpeg-
${
JPEG_VERSION
}
&&
\
# tar xzf jpegsrc.v${JPEG_VERSION}.tar.gz && \
rm
-rf
${
BUILD
}
# cd jpeg-${JPEG_VERSION} && \
# ./configure && make -j4 && make install && \
# cp config.log ${OPT}/config.log-jpeg-${JPEG_VERSION} && \
# rm -rf ${BUILD}
## add szip
## add szip
#RUN mkdir -p ${BUILD} && cd ${BUILD} && wget -q https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz && \
#RUN mkdir -p ${BUILD} && cd ${BUILD} && \
# wget -q https://www.hdfgroup.org/ftp/lib-external/szip/${SZIP_VERSION}/src/szip-${SZIP_VERSION}.tar.gz && \
# tar zxf szip-${SZIP_VERSION}.tar.gz && \
# tar zxf szip-${SZIP_VERSION}.tar.gz && \
# cd szip-${SZIP_VERSION} && \
# cd szip-${SZIP_VERSION} && \
# ./configure --prefix="/usr"
--disable-shared
--with-pic && make -j4 && make install && \
# ./configure --prefix="/usr" --with-pic && make -j4 && make install && \
# cp config.log /
config
/config.log-szip-${SZIP_VERSION} && \
# cp config.log /
opt
/config.log-szip-${SZIP_VERSION} && \
# rm -rf ${BUILD}
# rm -rf ${BUILD}
# add hdf4
# add hdf4
...
@@ -122,15 +126,15 @@ RUN mkdir -p ${BUILD} ${OPT}/nco && cd ${BUILD} && \
...
@@ -122,15 +126,15 @@ RUN mkdir -p ${BUILD} ${OPT}/nco && cd ${BUILD} && \
RUN
apt-get
install
-y
python-setuptools python-numpy python-scipy python-matplotlib python-mpltoolkits.basemap
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
RUN
easy_install
-f
http://larch.ssec.wisc.edu/cgi-bin/repos.cgi uwglance
## add pyhdf for glance to read hdf4 files
#
## add pyhdf for glance to read hdf4 files
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
#
RUN mkdir -p ${BUILD} && cd ${BUILD} && \
wget
-q
http://hdfeos.org/software/pyhdf/pyhdf-
${
PYHDF_VERSION
}
.tar.gz
&&
\
#
wget -q http://hdfeos.org/software/pyhdf/pyhdf-${PYHDF_VERSION}.tar.gz && \
tar
xzf pyhdf-
${
PYHDF_VERSION
}
.tar.gz
&&
\
#
tar xzf pyhdf-${PYHDF_VERSION}.tar.gz && \
cd
pyhdf-
${
PYHDF_VERSION
}
&&
\
#
cd pyhdf-${PYHDF_VERSION} && \
INCLUDE_DIRS
=
"
${
OPT
}
/hdf4/include/"
\
#
INCLUDE_DIRS="${OPT}/hdf4/include/" \
LIBRARY_DIRS
=
"
${
OPT
}
/hdf4/lib/"
\
#
LIBRARY_DIRS="${OPT}/hdf4/lib/" \
python setup.py
install
&&
\
#
python setup.py install && \
rm
-r
${
BUILD
}
#
rm -r ${BUILD}
## add netcdf4-python for glance to read netcdf4 files
## add netcdf4-python for glance to read netcdf4 files
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
RUN
mkdir
-p
${
BUILD
}
&&
cd
${
BUILD
}
&&
\
...
...
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