diff --git a/util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile b/util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile index c38b5c9aea..629fc5d614 100644 --- a/util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile +++ b/util/dockerfiles/ubuntu-18.04_all-dependencies/Dockerfile @@ -33,7 +33,7 @@ RUN apt -y update && apt -y upgrade && \ libhdf5-serial-dev python3-pydot libpng-dev libelf-dev pkg-config \ python3-pip python3-venv -RUN pip3 install black mypy +RUN pip3 install black mypy pre-commit RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10 RUN update-alternatives --install /usr/bin/python python /usr/bin/python2 1 diff --git a/util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile b/util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile index ad387e3d75..c838a06dda 100644 --- a/util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile +++ b/util/dockerfiles/ubuntu-20.04_all-dependencies/Dockerfile @@ -34,4 +34,4 @@ RUN apt -y update && apt -y upgrade && \ libhdf5-serial-dev python3-pydot libpng-dev libelf-dev pkg-config pip \ python3-venv black -RUN pip install mypy \ No newline at end of file +RUN pip install mypy pre-commit