Closed whoismissing closed 1 year ago
@jvillard has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@jvillard merged this pull request in facebook/infer@23f0aa3b519648c3971230e0aa68b764117548e9.
Thank you @whoismissing!
Building the docker images that compile infer from source under master and master-java currently result in compilation and execution failures.
The compilation error is due to a missing
sqlite3
apt dependency since the command is now used during the make process in./infer/models/Makefile
line 68sqlite3 $(RESULTS_DB) $(SQL_DUMP_MODEL_SPECS) </dev/null
.The build phase is performed by debian bullseye whereas execution is performed by debian buster (older libc) which results in the following error when attempting to execute:
The short fixes to the Dockerfiles have been tested on a WSL2 Ubuntu 20.04 host running docker desktop.
After making the changes, infer was built and run successfully using
docker build -t infer .