Tests fail on lambci/lambda:build-nodejs8.10
Hi,
I am trying to build myself a development environment to compile AWS Lambda functions using CMake. To this end, I use the following lines
# previous stages ...
# Build CMake from source
FROM lambci/lambda:build-nodejs8.10 AS cmake
RUN git clone https://gitlab.kitware.com/cmake/cmake /tmp/cmake
WORKDIR /tmp/cmake
RUN git checkout v3.12.2
RUN ./configure --no-qt-gui
RUN gmake
# RUN gmake test # Tests fail --- try to find out why
RUN gmake install
# later stages ...
in my multi-stage Dockerfile
. The commented line fails with
99% tests passed, 2 tests failed out of 474
Label Time Summary:
Label1 = 0.04 sec*proc (1 test)
Label2 = 0.04 sec*proc (1 test)
Total Test time (real) = 1075.73 sec
The following tests FAILED:
5 - kwsys.testSystemTools (Failed)
187 - CTest.UpdateCVS (Failed)
Errors while running CTest
gmake: *** [test] Error 8
I am sure the error will be reproducible with the given Dockerfile
excerpt. Do you have any idea why this happens? I would be glad if you helped me solve the problem.
Thank you!