forked from ismrmrd/ismrmrd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.clion
50 lines (45 loc) · 1.09 KB
/
Dockerfile.clion
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# Build and run:
# docker build -t clion/ubuntu:latest -f Dockerfile.clion
FROM ubuntu:22.04
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get -y install tzdata
RUN apt-get update \
&& apt-get install -y build-essential \
gcc \
g++ \
gdb \
clang \
make \
ninja-build \
cmake \
autoconf \
automake \
libtool \
valgrind \
locales-all \
dos2unix \
rsync \
tar \
python3 \
python3-dev \
libhdf5-dev \
wget \
libcereal-dev \
libfftw3-dev \
libboost-all-dev \
git \
libxml2-dev \
libpugixml-dev \
&& apt-get clean
RUN cd /opt \
&& wget https://github.com/LLNL/zfp/releases/download/1.0.0/zfp-1.0.0.tar.gz \
&& tar xfz zfp-1.0.0.tar.gz \
&& cd zfp-1.0.0 \
&& mkdir cmake-build \
&& cd cmake-build \
&& cmake .. \
&& make install \
&& cd / \
&& rm -rf /opt/zfp*
RUN sed -i "57d" /usr/share/cmake/cereal/cerealTargets.cmake
RUN git config --global --add safe.directory /tmp/ismrmrd