-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
40 lines (32 loc) · 1.37 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
32
33
34
35
36
37
38
# This file is part of f1x.
# Copyright (C) 2016 Sergey Mechtaev, Gao Xiang, Shin Hwei Tan, Abhik Roychoudhury
#
# f1x is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
FROM mechtaev/ubuntu-16.04-llvm-3.8.1
MAINTAINER [email protected]
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y
RUN apt-get install -y build-essential cmake gcovr zlib1g-dev libtinfo-dev python
RUN apt-get install -y libboost-filesystem-dev libboost-program-options-dev libboost-log-dev
ADD CMakeLists.txt /f1x/
ADD Config.h.in /f1x/
ADD repair /f1x/repair
ADD tests /f1x/tests
ADD thirdparty /f1x/thirdparty
ADD tools /f1x/tools
ADD transform /f1x/transform
RUN mkdir /f1x/build && cd /f1x/build \
&& cmake .. -DF1X_LLVM=/llvm-3.8.1 \
&& make
ENV PATH="/f1x/build/tools:${PATH}"