Skip to content

Commit e15fef4

Browse files
[analyzer] SATest: Ensure Docker image can be built
Solve build issues occurring when running `docker build`. Fix the version of cmake-data to solve the following issue: The following packages have unmet dependencies: cmake : Depends: cmake-data (= 3.20.5-0kitware1) but 3.23.1-0kitware1ubuntu18.04.1 is to be installed Install libjpeg to solve this issue when installing Python requirements: The headers or library files could not be found for jpeg, a required dependency when compiling Pillow from source. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D126196
1 parent e4a124d commit e15fef4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/utils/analyzer/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN apt-get update && apt-get install -y \
1818
python3=3.6.7-1~18.04 \
1919
python3-pip=9.0.1-2.3* \
2020
cmake=3.20.5* \
21+
cmake-data=3.20.5* \
2122
ninja-build=1.8.2-1
2223

2324
# box2d dependencies
@@ -52,6 +53,9 @@ RUN apt-get install -y \
5253
flex=2.6.4-6 \
5354
bison=2:3.0.4.*
5455

56+
RUN apt-get install -y \
57+
libjpeg-dev
58+
5559
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
5660

5761
VOLUME /analyzer

0 commit comments

Comments
 (0)