forked from facebook/infer
-
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.
Summary: This cuts the resulting image from ~4.6GB to ~1.6GB. Infer functionality is not sacrificed and the following commands run successfully without any extra user interaction (including Android example provided the user has accepted the Android SDK license which they'll be prompted to do when running the Docker image, see facebook#597 (comment)): ```bash cd /infer/examples && infer -- javac Hello.java cd /infer/examples && infer -- gcc -c hello.c cd /infer/examples && infer -- clang -c hello.c cd /infer/examples/c_hello && infer -- make cd /infer/examples/java_hello && infer -- javac Hello.java Pointers.java Resources.java cd /infer/examples/android_hello && infer -- ./gradlew build ``` The OPAM installation is no longer retained. This may impact Infer developers if they're using the Docker images and require OPAM packages to be installed as part of their workflow. Closes facebook#597 Differential Revision: D4906386 Pulled By: jvillard fbshipit-source-id: 6bc09d2
- Loading branch information
1 parent
1196728
commit 8a8fe9e
Showing
3 changed files
with
38 additions
and
26 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
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