Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
add `git checkout -- .` to Dockerfile run command as `make update` does not do this for the main TA repository*, and if there are outstanding changes, the built code will not be the latest. Also swap chaining commands with `;` to using `&&` as all steps should be completed successfully.
  • Loading branch information
marc1uk authored Feb 8, 2024
1 parent b3b11ab commit 8e1195e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM anniesoft/toolanalysis:base
### Run the following commands as super user (root):
USER root

Run cd ToolAnalysis; bash -c "source Setup.sh; make update; make;"
Run cd ToolAnalysis; bash -c "source Setup.sh && git checkout -- . && make update && make"

### Open terminal
CMD ["/bin/bash"]
Expand Down

0 comments on commit 8e1195e

Please sign in to comment.