diff --git a/.azure-pipelines/code-scan.yml b/.azure-pipelines/code-scan.yml index 34187e73ead..a53cbfbea92 100644 --- a/.azure-pipelines/code-scan.yml +++ b/.azure-pipelines/code-scan.yml @@ -14,6 +14,7 @@ pr: - .azure-pipelines/code-scan.yml - .azure-pipelines/scripts/codeScan - .azure-pipelines/template/docker-template.yml + - .azure-pipelines/docker/DockerfileCodeScan.devel pool: vmImage: "ubuntu-latest" diff --git a/.azure-pipelines/docker/DockerfileCodeScan.devel b/.azure-pipelines/docker/DockerfileCodeScan.devel index 26b743ff295..bc4643b6201 100644 --- a/.azure-pipelines/docker/DockerfileCodeScan.devel +++ b/.azure-pipelines/docker/DockerfileCodeScan.devel @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -ARG UBUNTU_VER=22.04 +ARG UBUNTU_VER=24.04 FROM ubuntu:${UBUNTU_VER} as devel # See http://bugs.python.org/issue19846 @@ -25,7 +25,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \ python3 \ python3-pip \ python3-dev \ - python3-distutils \ wget RUN ln -sf $(which python3) /usr/bin/python