diff --git a/docker/Dockerfile.test.sqlite.clang11.bionic b/docker/Dockerfile.test.sqlite.clang11.bionic deleted file mode 100644 index fe7bbc4bab..0000000000 --- a/docker/Dockerfile.test.sqlite.clang11.bionic +++ /dev/null @@ -1,37 +0,0 @@ -FROM ubuntu:18.04 - -RUN apt-get update \ - && apt-get install -y software-properties-common wget \ - && wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \ - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main" \ - && apt-get update \ - && apt-get install --no-install-recommends -y \ - clang-11 \ - clang-tidy-11 \ - libpq-dev \ - make \ - build-essential \ - curl \ - gcc-multilib \ - git \ - python3-virtualenv \ - python3-dev \ - python3-pip \ - python3-setuptools \ - libsasl2-dev \ - python-dev \ - libldap2-dev \ - libssl-dev \ - && pip3 install wheel \ - && pip3 install virtualenv \ - && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-11 9999 \ - && update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 9999 \ - && update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-11 9999 - -COPY . /codechecker - -WORKDIR "/codechecker" - -RUN chmod a+x /codechecker/docker/entrypoint.sh - -ENTRYPOINT ["/codechecker/docker/entrypoint.sh"] diff --git a/docker/Dockerfile.test.sqlite.clang11.xenial b/docker/Dockerfile.test.sqlite.clang11.xenial deleted file mode 100644 index e34324496b..0000000000 --- a/docker/Dockerfile.test.sqlite.clang11.xenial +++ /dev/null @@ -1,41 +0,0 @@ -FROM ubuntu:16.04 - -RUN apt-get update \ - && apt-get install -y \ - software-properties-common \ - wget \ - apt-transport-https \ - ca-certificates \ - && wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \ - && add-apt-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-11 main" \ - && apt-get update \ - && apt-get install --no-install-recommends -y \ - clang-11 \ - clang-tidy-11 \ - libpq-dev \ - make \ - build-essential \ - curl \ - gcc-multilib \ - git \ - python3-virtualenv \ - python-virtualenv \ - python3-dev \ - python3-pip \ - python3-setuptools \ - libsasl2-dev \ - libldap2-dev \ - libssl-dev \ - && pip3 install wheel \ - && pip3 install virtualenv \ - && update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-11 9999 \ - && update-alternatives --install /usr/bin/clang clang /usr/bin/clang-11 9999 \ - && update-alternatives --install /usr/bin/clang-tidy clang-tidy /usr/bin/clang-tidy-11 9999 - -COPY . /codechecker - -WORKDIR "/codechecker" - -RUN chmod a+x /codechecker/docker/entrypoint.sh - -ENTRYPOINT ["/codechecker/docker/entrypoint.sh"] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh deleted file mode 100644 index d6841a28fa..0000000000 --- a/docker/entrypoint.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -make venv_dev && \ -source venv_dev/bin/activate && \ -make pycodestyle pylint package test_unit test_functional diff --git a/docs/docker.md b/docs/docker.md deleted file mode 100644 index ecc1f9fc35..0000000000 --- a/docs/docker.md +++ /dev/null @@ -1,39 +0,0 @@ -# Docker - -Docker file naming convention: `Dockerfile.{type}.{extra tags}.{baseimage}` - -* __type__: test, prod ... -* __extra tags__: sqlite, clang11 ... -* __baseimage__: xenial, binoic, archlinux ... - -## Build sqlite test image - -__Run all docker commands in the root of the repository!__ - -Build the docker image like this: -```sh -sudo docker build -t codechecker:test-sqlite-clang11-bionic --rm -f \ -docker/Dockerfile.test.sqlite.clang11.bionic . -``` - -Run the built image: -```sh -sudo docker run --rm -ti codechecker:test-sqlite-clang11-bionic -``` - -```sh -sudo docker run --rm -ti codechecker:test-sqlite-clang11-bionic make venv_dev \ -pycodestyle, pakcage, test_unit, test_sqlite -``` - -Remove the built image: -```sh -sudo docker image rm -f codechecker:test-sqlite-bionic -``` - -# Cleanup - -To remove stopped containers, dangling images ... -```sh -sudo docker system prune -```