Skip to content

Commit adbf406

Browse files
committed
Builds: add Docker support for building noelle
1 parent 16e77ea commit adbf406

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM ubuntu:20.04
2+
3+
RUN apt update \
4+
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt install -y \
5+
git \
6+
wget \
7+
cmake \
8+
build-essential \
9+
libz-dev \
10+
lsb-release \
11+
software-properties-common \
12+
&& apt clean
13+
14+
RUN wget https://apt.llvm.org/llvm.sh \
15+
&& chmod +x llvm.sh \
16+
&& ./llvm.sh 9
17+
18+
RUN ln -s /usr/bin/clang-9 /usr/bin/clang \
19+
&& ln -s /usr/bin/clang++-9 /usr/bin/clang++
20+
21+
RUN git clone https://github.com/scampanoni/noelle.git
22+
23+
WORKDIR /noelle
24+
25+
RUN make
26+
27+
ENTRYPOINT ["/usr/bin/bash"]

0 commit comments

Comments
 (0)