Warning, /sdk/clazy/tests/docker/images/clazy-ubuntu-21.04/Dockerfile is written in an unsupported language. File is not indexed.

0001 # This Dockerfile creates the container for testing on Ubuntu 21.04
0002 
0003 FROM ubuntu:21.04
0004 MAINTAINER Sergio Martins (sergio.martins@kdab.com)
0005 
0006 
0007 ENV PATH=/Qt/5.15.2/gcc_64/bin/:$PATH
0008 ENV LC_CTYPE=C.UTF-8
0009 
0010 ENV TZ=Europe/Lisbon
0011 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
0012 
0013 RUN apt-get update
0014 RUN apt install -y build-essential g++ clang-12 clang-tools-12 libclang-12-dev libclang-12-dev \
0015 git-core python3 ninja-build qtbase5-dev qtdeclarative5-dev libssl-dev
0016 
0017 # Install a more recent CMake, so we can use presets
0018 WORKDIR /
0019 RUN git clone https://github.com/Kitware/CMake.git
0020 WORKDIR /CMake
0021 RUN git checkout v3.21.0 && ./configure --prefix=/usr/ && make -j10 && make install
0022 
0023 RUN groupadd -g 1000 defaultgroup && \
0024 useradd -u 1000 -g defaultgroup user -m
0025 
0026 ENV PATH=/usr/lib/llvm-12/bin/:/clazy-src/build-ubuntu-21.04/bin/:$PATH
0027 ENV LD_LIBRARY_PATH=/usr/lib/llvm-12/lib64/:/clazy-src/build-ubuntu-21.04/lib/:$LD_LIBRARY_PATH
0028 ENV CLANG_BUILTIN_INCLUDE_DIR=/usr/lib/llvm-12/lib/clang/12.0.0/include/