forked from falconre/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.stretch
27 lines (23 loc) · 965 Bytes
/
Dockerfile.stretch
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
FROM debian:stretch
COPY llvm-snapshot.gpg.key /
RUN apt-get update && \
apt-get -y dist-upgrade && \
apt-get -y install curl gnupg2 apt-transport-https && \
echo "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-4.0 main" >> /etc/apt/sources.list && \
echo "deb-src http://apt.llvm.org/stretch/ llvm-toolchain-stretch-4.0 main" >> /etc/apt/sources.list && \
cat /llvm-snapshot.gpg.key | apt-key add - && \
apt-get update && \
apt-get -y install build-essential \
clang-4.0 \
curl \
llvm-4.0-dev \
libcapstone3 \
libcapstone-dev \
libclang-4.0-dev \
pkg-config && \
apt-get clean
RUN curl https://sh.rustup.rs -sSf > /tmp/install.sh && \
chmod 755 /tmp/install.sh && \
/tmp/install.sh -y
SHELL ["/bin/bash", "-c"]
COPY . /falcon/