diff options
author | Sergio Martins <smartins@kde.org> | 2019-10-03 14:27:16 +0100 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2019-10-03 14:27:16 +0100 |
commit | 6ee3daa03f049dd5041760ac80e83b0dd2faf68d (patch) | |
tree | 7446dfb79bfc792c81bb3b36c8eb5cb61bbdb1f9 | |
parent | 9bf2f5acfe79147c7e4ef2a627414370886ce40e (diff) |
tests: Add the Dockerfile used for creating the ubuntu image
-rw-r--r-- | tests/docker/images/clazy-ubuntu-18.04/Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/docker/images/clazy-ubuntu-18.04/Dockerfile b/tests/docker/images/clazy-ubuntu-18.04/Dockerfile new file mode 100644 index 00000000..4453417e --- /dev/null +++ b/tests/docker/images/clazy-ubuntu-18.04/Dockerfile @@ -0,0 +1,12 @@ +# This Dockerfile creates the container for testing on Ubuntu +# You can run, for example: clazy/tests/docker/test_docker.py -b 1.6 , which will run the tests in all containers +# Or explicitly: docker run -i -t iamsergio/clazy-ubuntu-18.04 sh /root/clazy/tests/docker/build-clazy.sh 1.6 -j12 none /usr/lib/llvm-6.0/ + +FROM ubuntu:18.04 +MAINTAINER Sergio Martins (sergio.martins@kdab.com) + +RUN apt-get update +RUN apt install -y g++ cmake clang clang-7 clang-8 clang-tools clang-tools-7 clang-tools-8 libclang-dev libclang-7-dev libclang-8-dev git-core python3 ninja-build qtbase5-dev qtdeclarative5-dev + +WORKDIR /root +RUN git clone https://github.com/KDE/clazy.git |