diff --git a/.docker/Dockerfile b/.docker/Dockerfile index 08fd0e7cfe0efebe8026332001637d096328f28f..ceccf9d513045bc7f802a7297b360a09b9d12707 100644 --- a/.docker/Dockerfile +++ b/.docker/Dockerfile @@ -1,5 +1,9 @@ FROM debian:bookworm +# change to bash default for gitlab runner +RUN echo "dash dash/sh boolean false" | debconf-set-selections +RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash + RUN apt-get update RUN apt-get install -y cmake RUN apt-get install -y lcov @@ -22,9 +26,11 @@ RUN ./venv/bin/pip install -r doc-requirements.txt COPY requirements.txt build-requirements.txt RUN ./venv/bin/pip install -r build-requirements.txt RUN ./venv/bin/conan profile detect + # add venv with conan to .bashrc RUN echo "source /venv/bin/activate" >> /root/.bashrc + COPY . /libcaosdb/ WORKDIR /libcaosdb RUN git rev-parse HEAD > libcaosdb_commit