-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (24 loc) · 1.01 KB
/
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:20.04
# cmake installation
RUN apt-get -y update
RUN UBUNTU_FRONTEND=noninteractive apt-get -yq install cmake
RUN apt-get -y update
RUN apt-get -yq install build-essential
RUN apt -yq install cmake g++ libprotobuf-dev protobuf-compiler # may be apt-get
# some linux tools installation
RUN apt-get -y install git
RUN apt-get -y install wget
RUN apt-get -y install make
RUN apt-get -y install valgrind
# install dynamorio project (for .so build)
RUN git clone https://github.com/DynamoRIO/dynamorio.git
# install dynamorio release (for bin64/drrun call)
RUN wget https://github.com/DynamoRIO/dynamorio/releases/download/release_9.0.1/DynamoRIO-Linux-9.0.1.tar.gz
RUN tar -xvzf DynamoRIO-Linux-9.0.1.tar.gz
# install some repo for testing installation
RUN git clone https://github.com/fmtlib/fmt.git
RUN git clone --recurse-submodules https://github.com/google/leveldb.git
RUN git clone https://github.com/gabime/spdlog.git
RUN git clone https://github.com/openssl/openssl.git
COPY . .
ENTRYPOINT ["bash", "./run.sh"]