Skip to content
Snippets Groups Projects
Commit 8ad91f16 authored by Schrödter, Tobias's avatar Schrödter, Tobias
Browse files

Update docker file to allow debugging

parent ed7144af
No related branches found
No related tags found
1 merge request!248Update docker file to allow debugging
......@@ -3,23 +3,36 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
# Update the repositories
RUN apt-get update && apt-get install -y software-properties-common wget
RUN apt-get update && apt-get -y install tzdata
# Install the needed tools
RUN echo "deb [trusted=yes] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main" | tee /etc/apt/sources.list.d/clang.list
RUN apt-get update && \
apt-get install -y \
software-properties-common \
build-essential \
wget \
git \
gcc \
g++ \
gdb \
clang \
make \
ninja-build \
cmake \
autoconf \
automake \
libtool \
valgrind \
parallel \
rsync \
tar \
mesa-common-dev \
libglu1-mesa-dev \
clang-14 \
clang-format-14
clang-format-14 \
&& apt-get clean
# Set clang-14 as default compiler
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\
......@@ -27,8 +40,10 @@ RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\
# Install python
RUN apt-get update && apt-get install -y \
python3 \
python3-pip
python3 \
python3-pip \
python3-dev \
&& apt-get clean
RUN pip install pytest aqtinstall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment