-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provide information on enabled support in vol2bird. vol2bird-mistnet …
…dockerfile
- Loading branch information
Showing
5 changed files
with
86 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
FROM ubuntu/vol2bird | ||
MAINTAINER Adriaan Dokter | ||
|
||
# get a copy of hlhdf: | ||
# configure and build hlhdf | ||
# strange Docker conflict when attempting to install in /opt/radar/hlhdf, therefore in root radar instead | ||
RUN git clone git://github.com/adokter/hlhdf.git \ | ||
&& cd hlhdf && ./configure --prefix=/opt/radar --with-hdf5=/usr/include/hdf5/serial,/usr/lib/x86_64-linux-gnu/hdf5/serial \ | ||
&& make && make install && cd .. && rm -rf hlhdf | ||
|
||
# get a copy of rave: | ||
# cd into rave source directory and configure | ||
# using a clone from git://git.baltrad.eu/rave.git \ | ||
RUN git clone https://github.com/adokter/rave.git \ | ||
&& cd rave && ./configure --prefix=/opt/radar/rave --with-hlhdf=/opt/radar \ | ||
&& make && make install && cd .. && rm -rf rave | ||
|
||
# get a copy of iris2odim: | ||
RUN git clone https://github.com/adokter/iris2odim.git \ | ||
&& cd iris2odim && export RAVEROOT=/opt/radar \ | ||
&& make && make install && cd .. && rm -rf iris2odim | ||
|
||
# get a copy of RSL: | ||
RUN git clone https://github.com/adokter/rsl.git && cd rsl \ | ||
&& ./configure --prefix=/opt/radar/rsl \ | ||
&& make AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=: \ | ||
&& make install AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=: \ | ||
&& cd .. && rm -rf rsl | ||
|
||
# get a copy of libtorch: | ||
RUN wget https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.3.0%2Bcpu.zip \ | ||
&& unzip libtorch-shared-with-deps-1.3.0+cpu.zip -d /opt/radar \ | ||
&& rm libtorch-shared-with-deps-1.3.0+cpu.zip | ||
|
||
# get a copy of vol2bird | ||
# configure vol2bird | ||
RUN git clone -b develop https://github.com/adokter/vol2bird.git \ | ||
&& cd vol2bird && ./configure --prefix=/opt/radar/vol2bird --with-rave=/opt/radar/rave --with-rsl=/opt/radar/rsl \ | ||
--with-gsl=/usr/include/gsl,/usr/lib/x86_64-linux-gnu \ | ||
--with-libtorch=/opt/radar/libtorch \ | ||
&& make && make install && cd .. && rm -rf vol2bird | ||
|
||
# get a copy of MistNet | ||
RUN pwd | ||
RUN git lfs clone https://github.com/adokter/MistNet.git | ||
|
||
# clean up | ||
RUN apt-get remove -y git gcc g++ wget unzip make cmake python-numpy -y python-dev flex \ | ||
&& apt-get clean && apt -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
# prepare mount points | ||
RUN mkdir data | ||
|
||
# set the paths to installed libraries and executables | ||
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/radar/lib:/opt/radar/rave/lib:/opt/radar/rsl/lib:/opt/radar/vol2bird/lib:/usr/lib/x86_64-linux-gnu | ||
ENV PATH=${PATH}:/opt/radar/vol2bird/bin:/opt/radar/rsl/bin | ||
|
||
CMD vol2bird |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters