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

Merge branch 'update-dockerfile' into 'master'

Update docker file to allow debugging

See merge request !248
parents ed7144af 8ad91f16
No related branches found
No related tags found
1 merge request!248Update docker file to allow debugging
Pipeline #87137 passed
...@@ -3,23 +3,36 @@ FROM ubuntu:22.04 ...@@ -3,23 +3,36 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
# Update the repositories # 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 # 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 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 && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
software-properties-common \
build-essential \
wget \ wget \
git \ gcc \
g++ \
gdb \
clang \
make \ make \
ninja-build \ ninja-build \
cmake \ cmake \
autoconf \
automake \
libtool \
valgrind \
parallel \ parallel \
rsync \
tar \
mesa-common-dev \ mesa-common-dev \
libglu1-mesa-dev \ libglu1-mesa-dev \
clang-14 \ clang-14 \
clang-format-14 clang-format-14 \
&& apt-get clean
# Set clang-14 as default compiler # Set clang-14 as default compiler
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\ 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 &&\ ...@@ -27,8 +40,10 @@ RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-14 100 &&\
# Install python # Install python
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python3 \ python3 \
python3-pip python3-pip \
python3-dev \
&& apt-get clean
RUN pip install pytest aqtinstall 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