Skip to content
Snippets Groups Projects
Unverified Commit f50456c8 authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

Fix CMake needing the Python interpreter before generating makefiles

parent 1d7326e7
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ ...@@ -16,6 +16,7 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \
>> /etc/apk/repositories && apk update && \ >> /etc/apk/repositories && apk update && \
apk add --no-cache --virtual git-deps git && \ apk add --no-cache --virtual git-deps git && \
apk add --no-cache build-base cmake && \ apk add --no-cache build-base cmake && \
apk add --no-cache python3 && \
git clone --depth=1 https://github.com/llvm/llvm-project.git -b release/8.x && \ git clone --depth=1 https://github.com/llvm/llvm-project.git -b release/8.x && \
cmake \ cmake \
-DLLVM_ENABLE_PROJECTS="clang-tools-extra;clang" \ -DLLVM_ENABLE_PROJECTS="clang-tools-extra;clang" \
...@@ -27,11 +28,11 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ ...@@ -27,11 +28,11 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \
# Update package lists and install cmake, cppcheck, doxygen, vera++, # Update package lists and install cmake, cppcheck, doxygen, vera++,
# gcc and lcov with their dependencies # gcc and lcov with their dependencies
RUN apk add --no-cache findutils python3 python3-dev \ RUN apk add --no-cache findutils python3-dev \
cppcheck doxygen vera++@testing lcov@testing cppcheck doxygen vera++@testing lcov@testing
# Install gcovr # Install gcovr
RUN python3 -m pip install gcovr RUN python3 -m pip install gcovr
# Start a new shell # Start a new shell
ENTRYPOINT ["/bin/sh", "-c"] ENTRYPOINT ["/bin/sh", "-c"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment