Skip to content
Snippets Groups Projects
Select Git revision
  • e051ce3e6874af88bbca9fdebfe4a6a1794e8e5c
  • main default protected
  • f-sss4grpc
  • dev
  • 108-implement-rpc-call-for-server-side-scripting
  • f-windows-conan-create
  • f-to-string
  • f-update-requirements
  • f-related-projects
  • f-role
  • f-remote-path
  • f-rel-path
  • f-consol-message
  • v0.3.0
  • v0.2.2
  • v0.2.1
  • v0.2.0
  • v0.1.2
  • v0.1.1
  • v0.1
  • v0.0.19
  • v0.0.18
  • v0.0.16
  • v0.0.15
  • v0.0.10
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
33 results

Dockerfile

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 1.02 KiB
    FROM debian:bookworm
    
    RUN apt-get update
    RUN apt-get install -y cmake
    RUN apt-get install -y lcov
    RUN apt-get install -y doxygen graphviz
    RUN apt-get install -y clang-format clang-tidy
    RUN apt-get install -y python3-pip python3-venv
    RUN apt-get install -y git  
    RUN apt-get install -y curl zip unzip tar
    RUN apt-get install -y perl pkg-config
    
    
    RUN apt-get install -y  openjdk-17-jdk-headless
    
    
    WORKDIR /
    RUN python3 -m venv ./venv
    RUN . ./venv/bin/activate
    COPY doc/requirements.txt doc-requirements.txt
    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
    RUN rm -rf .git
    
    # build dependencies
    RUN /venv/bin/conan install /libcaosdb --build=missing -s build_type=Debug
    RUN /venv/bin/conan install /libcaosdb --build=missing -s build_type=Release