diff --git a/Dockerfile b/Dockerfile index 6d21f7ff9f..d4c641d7a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ # See https://aboutcode.org for more information about nexB OSS projects. # -FROM --platform=linux/amd64 python:3.12.7-slim-bookworm +FROM --platform=linux/amd64 python:3.12-slim-bookworm # Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately) ENV PYTHONUNBUFFERED 1 diff --git a/etc/ci/azure-posix-docker.yml b/etc/ci/azure-posix-docker.yml index 4122bf0cad..c9eba8556d 100644 --- a/etc/ci/azure-posix-docker.yml +++ b/etc/ci/azure-posix-docker.yml @@ -1,9 +1,6 @@ parameters: job_name: '' image_name: '' - python_versions: [] - test_suites: {} - python_architecture: x64 jobs: - job: ${{ parameters.job_name }} @@ -11,13 +8,6 @@ jobs: pool: vmImage: ${{ parameters.image_name }} - strategy: - matrix: - ${{ each tsuite in parameters.test_suites }}: - ${{ tsuite.key }}: - test_suite_label: ${{ tsuite.key }} - test_suite: ${{ tsuite.value }} - steps: - checkout: self fetchDepth: 10 @@ -26,8 +16,10 @@ jobs: inputs: command: 'build' Dockerfile: '**/Dockerfile' - arguments: '-t scancode' + tags: | + 'scancode' displayName: 'Build scancode-toolkit container' - script: | - docker run scancode --help + docker run scancode --help + displayName: 'Run scancode --help'