Skip to content

Commit

Permalink
Updated docker build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkelmann committed Jun 25, 2019
1 parent 89c388b commit 8c23e10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all clean test uninstall
.PHONY: all clean test uninstall docker
all:
dune build
dune install
Expand Down Expand Up @@ -27,3 +27,6 @@ uninstall:
cd plugins/cwe_checker_emulation; make uninstall; cd ../..
cd plugins/cwe_checker_type_inference; make uninstall; cd ../..
cd plugins/cwe_checker_type_inference_print; make uninstall; cd ../..

docker:
./install.sh
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env bash

echo "Cleaning up"
rm -rf src/_build
rm -f src/cwe_checker.plugin
make clean

echo "Building docker container"
docker build --build-arg=http{,s}_proxy --build-arg=HTTP{,S}_PROXY -t cwe-checker .
Expand Down

0 comments on commit 8c23e10

Please sign in to comment.