Skip to content

Commit 5b0a287

Browse files
Patch Dockerfile, attempt to fix CVEs (#160)
1 parent e975aaa commit 5b0a287

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#checkov:skip=CKV_DOCKER_2: HEALTHCHECK not required - Health checks are implemented downstream of this image
22

3-
FROM public.ecr.aws/ubuntu/ubuntu:24.04@sha256:2840d5f4a6a1a8eb11e0d493bf0bbc030442d48e902e99bbc7127b76f9775b1e
3+
FROM public.ecr.aws/ubuntu/ubuntu:24.04@sha256:67efaecc0031a612cf7bb3c863407018dbbef0a971f62032b77aa542ac8ac0d2
44
LABEL org.opencontainers.image.vendor="Ministry of Justice" \
55
org.opencontainers.image.authors="Analytical Platform (analytical-platform@digital.justice.gov.uk)" \
66
org.opencontainers.image.title="Airflow Python Base" \
@@ -18,14 +18,14 @@ ENV CONTAINER_USER="analyticalplatform" \
1818
ANALYTICAL_PLATFORM_DIRECTORY="/opt/analyticalplatform" \
1919
DEBIAN_FRONTEND="noninteractive" \
2020
PIP_BREAK_SYSTEM_PACKAGES="1" \
21-
AWS_CLI_VERSION="2.33.20" \
21+
AWS_CLI_VERSION="2.33.29" \
2222
CUDA_VERSION="12.9.1" \
2323
NVIDIA_DISABLE_REQUIRE="true" \
2424
NVIDIA_CUDA_CUDART_VERSION="12.9.79-1" \
2525
NVIDIA_CUDA_COMPAT_VERSION="575.57.08-0ubuntu1" \
2626
NVIDIA_VISIBLE_DEVICES="all" \
2727
NVIDIA_DRIVER_CAPABILITIES="compute,utility" \
28-
UV_VERSION="0.10.2" \
28+
UV_VERSION="0.10.6" \
2929
LD_LIBRARY_PATH="/usr/local/nvidia/lib:/usr/local/nvidia/lib64" \
3030
PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:/home/analyticalplatform/.local/bin:${PATH}"
3131

@@ -54,7 +54,7 @@ apt-get update --yes
5454
apt-get install --yes \
5555
"apt-transport-https=2.8.3" \
5656
"ca-certificates=20240203" \
57-
"curl=8.5.0-2ubuntu10.6" \
57+
"curl=8.5.0-2ubuntu10.7" \
5858
"git=1:2.43.0-1ubuntu7.3" \
5959
"jq=1.7.1-3ubuntu0.24.04.1" \
6060
"python3.12=3.12.3-1ubuntu0.11" \

test/container-structure-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ commandTests:
4242
- name: "aws"
4343
command: "aws"
4444
args: ["--version"]
45-
expectedOutput: ["aws-cli/2.33.20"]
45+
expectedOutput: ["aws-cli/2.33.29"]
4646

4747
- name: "uv"
4848
command: "uv"
4949
args: ["--version"]
50-
expectedOutput: ["uv 0.10.2"]
50+
expectedOutput: ["uv 0.10.6"]
5151

5252
- name: "uvx"
5353
command: "uvx"
5454
args: ["--version"]
55-
expectedOutput: ["uvx 0.10.2"]
55+
expectedOutput: ["uvx 0.10.6"]
5656

5757
fileExistenceTests:
5858
- name: "/opt/analyticalplatform"

0 commit comments

Comments
 (0)