forked from BinaryAnalysisPlatform/bap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates vagrant/docker files (BinaryAnalysisPlatform#928)
* updates docker and vagrant files * added libncurses install * removed bubblewrap building from Dockerfiles * minor updates * quotes added * don't delete libncurses
- Loading branch information
Showing
6 changed files
with
100 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
FROM ocaml/opam:debian | ||
FROM ocaml/opam2:debian-stable | ||
|
||
MAINTAINER Ivan Gotovchits <ivg@ieee.org> | ||
|
||
RUN sudo apt-get -y update && sudo apt-get -y install \ | ||
llvm-3.8-dev \ | ||
build-essential \ | ||
curl \ | ||
git \ | ||
libcurl4-gnutls-dev \ | ||
libgmp-dev \ | ||
zlib1g-dev \ | ||
binutils-multiarch \ | ||
clang | ||
RUN opam init --auto-setup --comp=4.05.0 --yes | ||
libx11-dev \ | ||
m4 \ | ||
pkg-config \ | ||
python-pip \ | ||
software-properties-common \ | ||
sudo \ | ||
unzip \ | ||
wget \ | ||
libcap-dev \ | ||
gcc \ | ||
make \ | ||
libncurses5-dev | ||
|
||
RUN opam switch 4.05 | ||
RUN eval "$(opam env)" | ||
RUN opam repo add bap git://github.com/BinaryAnalysisPlatform/opam-repository#testing | ||
RUN LLVM_CONFIG=llvm-config-3.8 opam install conf-bap-llvm --yes | ||
RUN OPAMJOBS=16 opam install bap --yes | ||
RUN sudo apt-get install python-pip --yes | ||
RUN opam update | ||
RUN opam install depext --yes | ||
RUN OPAMJOBS=1 opam depext --install bap --yes | ||
RUN sudo pip install bap | ||
|
||
WORKDIR /home/opam | ||
|
||
ENTRYPOINT ["opam", "config", "exec", "--"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters