-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdockerfile
More file actions
20 lines (16 loc) · 779 Bytes
/
dockerfile
File metadata and controls
20 lines (16 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# docker build -t andb-dev -f dockerfile .
FROM centos:7
RUN yum clean all && \
yum makecache && \
yum install -y centos-release-scl && \
yum makecache && \
yum install -y wget curl psmisc dstat vim git tmux net-tools make cmake libtool gcc-c++ automake autoconf texinfo libevent python-devel python3-devel && \
yum install -y llvm-toolset-7.0-lldb-devel llvm-toolset-7.0-python-lldb llvm-toolset-7.0-clang llvm-toolset-7.0-build && \
yum clean all
RUN cd /root && \
git clone https://github.com/noslate-project/andb.git && \
git clone https://github.com/noslate-project/andb-gdb.git && \
echo $'source /opt/rh/llvm-toolset-7.0/enable \n\
cd andb-gdb && source env.sh && cd .. \n\
cd andb && source env.sh && cd ..' > env.sh
WORKDIR /root