-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathDockerfile
31 lines (26 loc) · 897 Bytes
/
Dockerfile
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
From ubuntu:22.04
COPY inittimezone /usr/local/bin/inittimezone
# Run inittimezone and install a few dependencies
RUN apt-get -qq update && \
inittimezone && \
apt-get -qq -y install \
build-essential \
cmake \
g++ \
git \
libboost-all-dev \
wget \
libdeal.ii-dev \
vim \
tree \
lintian
# Get, unpack, build, and install yaml-cpp
RUN mkdir software && cd software && \
git clone https://github.com/jbeder/yaml-cpp.git && \
cd yaml-cpp && mkdir build && cd build && \
cmake -DYAML_BUILD_SHARED_LIBS=ON .. && make -j4 && make install
# This is some strange Docker problem. Normally, you don't need to add /usr/local to these
ENV LIBRARY_PATH $LIBRARY_PATH:/usr/local/lib/
ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/local/lib/
ENV PATH $PATH:/usr/local/bin/
CMD ["/bin/bash"]