diff options
author | John M. Schanck <jschanck@mozilla.com> | 2022-05-06 23:01:50 +0000 |
---|---|---|
committer | John M. Schanck <jschanck@mozilla.com> | 2022-05-06 23:01:50 +0000 |
commit | 360c7d932b3a14bdb5abe6e22dfd140b3b8b3636 (patch) | |
tree | 28664bfff9f06c39fc95912943ff190833f0d64e /automation/clang-format | |
parent | 9860344d390a780466765335b74cdc72a0f184b2 (diff) | |
download | nss-hg-360c7d932b3a14bdb5abe6e22dfd140b3b8b3636.tar.gz |
Bug 1766907 - Update mercurial in clang-format docker image. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D145355
Diffstat (limited to 'automation/clang-format')
-rw-r--r-- | automation/clang-format/Dockerfile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/automation/clang-format/Dockerfile b/automation/clang-format/Dockerfile index e74dac09f..34fc0fb43 100644 --- a/automation/clang-format/Dockerfile +++ b/automation/clang-format/Dockerfile @@ -7,10 +7,17 @@ RUN apt-get update \ ca-certificates \ clang-format-3.9 \ locales \ - mercurial \ + python-dev \ + python-pip \ + python-setuptools \ + python-wheel \ + build-essential \ && rm -rf /var/lib/apt/lists/* \ && apt-get autoremove -y && apt-get clean -y +RUN pip install mercurial==6.1.1 + + RUN update-alternatives --install /usr/bin/clang-format \ clang-format $(which clang-format-3.9) 10 |