Failed bulding Dockerfile infer 1.2.0
- Dominant language
- OCaml
- Stars
- 15.7k
- Forks
- 2.1k
- Avg merge
- 19h 36m
- Merged PRs (30d)
- 13
Description
I have been trying to get the build the dockerfile for the latest version of infer located here https://github.com/facebook/infer/blob/main/docker/
I have installed the 1.1.0 dockerfile successfully but building the master dockerfile gives me an error that `rsync` is missing:
https://gist.github.com/ArjanSeijs/58b50d037903c5a645c907c6787bf48a
I have tried to fix this by adding `rsync` to the installation in the dockerfile but this gives me an error that CLANG src is missing and that `prepare_clang_src.sh` needs to be executed:
https://gist.github.com/ArjanSeijs/5dc2c494157414e7b64229c20cd352cc
Trying to add prepare_clang_src.sh again gives me an error that a newer cmake version (3.20.0) is required, however trying to install version 3.20.0 gives that it is not found.
https://gist.github.com/ArjanSeijs/35fa807c474cc172af87a9c56e6d1133
Is there a updated dockerfile somehwere or are there some changes I can do to make this work.
I assume that maybe using some older version of the packages could fix the problem as the dockerfile is quite outdated but I have no idea where I would need to start.
Please include the following information:
- [x] The version of infer from `infer --version`: Infer 1.2.0 / master
- [x] Your operating system and version, for example "Debian 9", "MacOS High Sierra", whether you are using Docker, etc: Linux Mint 22.1 Cinnamon using Docker version 28.0.4, build b8034c0
- [X] Which command you ran, for example `infer -- make`: docker build -t infer .
- [X] The full output in a paste, for instance a [gist](https://gist.github.com/).
Contributor guide
Assessment
This issue has not been assessed yet.