Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cwe_checker
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
cwe_checker
Commits
cb16c7fa
Commit
cb16c7fa
authored
Nov 22, 2018
by
Peter Weidenbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker optimized and markdown issues fixed
parent
b61ca538
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
Dockerfile
Dockerfile
+5
-8
README.md
README.md
+0
-0
No files found.
Dockerfile
View file @
cb16c7fa
# based on https://github.com/BinaryAnalysisPlatform/bap/blob/master/docker/Dockerfile
# based on https://github.com/BinaryAnalysisPlatform/bap/blob/master/docker/Dockerfile
FROM
phusion/baseimage:0.11
FROM
phusion/baseimage:0.11
RUN
apt-get
-y
update
&&
apt-get
-y
install
\
RUN
apt-get
-y
update
&&
install_clean
\
build-essential
\
build-essential
\
curl
\
curl
\
git
\
git
\
...
@@ -8,6 +8,7 @@ RUN apt-get -y update && apt-get -y install \
...
@@ -8,6 +8,7 @@ RUN apt-get -y update && apt-get -y install \
m4
\
m4
\
pkg-config
\
pkg-config
\
python-pip
\
python-pip
\
python-setuptools
\
software-properties-common
\
software-properties-common
\
sudo
\
sudo
\
unzip
\
unzip
\
...
@@ -17,11 +18,8 @@ RUN apt-get -y update && apt-get -y install \
...
@@ -17,11 +18,8 @@ RUN apt-get -y update && apt-get -y install \
libgmp-dev
\
libgmp-dev
\
libzip-dev
\
libzip-dev
\
llvm-6.0-dev
\
llvm-6.0-dev
\
zlib1g-dev
\
zlib1g-dev
&&
apt-get clean
\
RUN
wget https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh
&&
yes /usr/local/bin | sh install.sh
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
wget https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh
RUN
yes /usr/local/bin | sh install.sh
RUN
useradd
-m
bap
&&
echo
"bap:bap"
| chpasswd
&&
adduser bap
sudo
RUN
useradd
-m
bap
&&
echo
"bap:bap"
| chpasswd
&&
adduser bap
sudo
RUN
sed
-i
.bkp
-e
\
RUN
sed
-i
.bkp
-e
\
's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g'
\
's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g'
\
...
@@ -31,8 +29,7 @@ WORKDIR /home/bap
...
@@ -31,8 +29,7 @@ WORKDIR /home/bap
# install Bap
# install Bap
RUN
opam init
--auto-setup
--comp
=
4.05.0
--disable-sandboxing
--yes
RUN
opam init
--auto-setup
--comp
=
4.05.0
--disable-sandboxing
--yes
RUN
git clone
-b
testing
--single-branch
https://github.com/BinaryAnalysisPlatform/opam-repository.git
RUN
git clone
-b
testing
--single-branch
https://github.com/BinaryAnalysisPlatform/opam-repository.git
RUN
opam repo add bap opam-repository
RUN
opam repo add bap opam-repository
&&
opam update
RUN
opam update
RUN
opam install depext
--yes
RUN
opam install depext
--yes
RUN
OPAMJOBS
=
1 opam depext
--install
bap
--yes
RUN
OPAMJOBS
=
1 opam depext
--install
bap
--yes
RUN
pip install bap
RUN
pip install bap
...
...
README.md
View file @
cb16c7fa
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment