ARG CPPLIB_REGISTRY_IMAGE FROM $CPPLIB_REGISTRY_IMAGE COPY .docker/wait-for-it.sh /wait-for-it.sh # build and install caosdb-cpplib WORKDIR /libcaosdb/ RUN mkdir build WORKDIR /libcaosdb/build RUN conan create .. --profile ../conan.profile COPY . /caosdb-cppinttest WORKDIR /caosdb-cppinttest RUN rm -rf .git # build and run tests CMD mkdir build && \ cd build && \ conan install .. --profile /libcaosdb/conan.profile && \ cmake .. && \ cmake --build . && \ /wait-for-it.sh caosdb-server:10443 -t 500 -- \ ctest -V