From f50456c83cf013869008dac22e1a58e38cc7bce6 Mon Sep 17 00:00:00 2001 From: Grigoris Pavlakis <grigpavl@ece.auth.gr> Date: Sun, 1 Sep 2019 10:15:48 +0300 Subject: [PATCH] Fix CMake needing the Python interpreter before generating makefiles --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 79e12dc6..5d89f392 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ >> /etc/apk/repositories && apk update && \ apk add --no-cache --virtual git-deps git && \ 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 && \ cmake \ -DLLVM_ENABLE_PROJECTS="clang-tools-extra;clang" \ @@ -27,11 +28,11 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" \ # Update package lists and install cmake, cppcheck, doxygen, vera++, # 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 # Install gcovr RUN python3 -m pip install gcovr # Start a new shell -ENTRYPOINT ["/bin/sh", "-c"] \ No newline at end of file +ENTRYPOINT ["/bin/sh", "-c"] -- GitLab