Skip to content

Commit

Permalink
📌 10/02/2025 Patching (#71)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <jacob.woffenden@justice.gov.uk>
  • Loading branch information
jacobwoffenden authored Feb 10, 2025
1 parent 965420c commit 3ba4b02
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
CVE-2024-43882
CVE-2024-53103
CVE-2024-56658
CVE-2024-53104
CVE-2024-56672
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#checkov:skip=CKV_DOCKER_2: HEALTHCHECK not required - Health checks are implemented downstream of this image

FROM public.ecr.aws/ubuntu/ubuntu@sha256:da20fb875cfefd317c49e7aaf3998d3e5ad42c5b20f34a0eec6dca2fe4fbb8f4
FROM public.ecr.aws/ubuntu/ubuntu@sha256:562b04c2e7aedb72b0f919d659f6c607087f839d584037f096d9cd97b308006e

LABEL org.opencontainers.image.vendor="Ministry of Justice" \
org.opencontainers.image.authors="Analytical Platform (analytical-platform@digital.justice.gov.uk)" \
Expand All @@ -15,11 +15,11 @@ ENV CONTAINER_USER="analyticalplatform" \
ANALYTICAL_PLATFORM_DIRECTORY="/opt/analyticalplatform" \
DEBIAN_FRONTEND="noninteractive" \
PIP_BREAK_SYSTEM_PACKAGES="1" \
AWS_CLI_VERSION="2.23.3" \
CUDA_VERSION="12.6.3" \
AWS_CLI_VERSION="2.24.0" \
CUDA_VERSION="12.8.0" \
NVIDIA_DISABLE_REQUIRE="true" \
NVIDIA_CUDA_CUDART_VERSION="12.6.77-1" \
NVIDIA_CUDA_COMPAT_VERSION="560.35.05-0ubuntu1" \
NVIDIA_CUDA_CUDART_VERSION="12.8.57-1" \
NVIDIA_CUDA_COMPAT_VERSION="570.86.15-0ubuntu1" \
NVIDIA_VISIBLE_DEVICES="all" \
NVIDIA_DRIVER_CAPABILITIES="compute,utility" \
LD_LIBRARY_PATH="/usr/local/nvidia/lib:/usr/local/nvidia/lib64" \
Expand Down Expand Up @@ -101,8 +101,8 @@ echo "deb [signed-by=/etc/apt/keyrings/nvidia.gpg] https://developer.download.nv
apt-get update --yes

apt-get install --yes \
"cuda-cudart-12-6=${NVIDIA_CUDA_CUDART_VERSION}" \
"cuda-compat-12-6=${NVIDIA_CUDA_COMPAT_VERSION}"
"cuda-cudart-12-8=${NVIDIA_CUDA_CUDART_VERSION}" \
"cuda-compat-12-8=${NVIDIA_CUDA_COMPAT_VERSION}"

echo "/usr/local/nvidia/lib" >> /etc/ld.so.conf.d/nvidia.conf
echo "/usr/local/nvidia/lib64" >> /etc/ld.so.conf.d/nvidia.conf
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ echo "deb [signed-by=/etc/apt/keyrings/nvidia.gpg] https://developer.download.nv

apt-get update --yes

apt-cache policy cuda-cudart-12-6
apt-cache policy cuda-cudart-12-8

apt-cache policy cuda-compat-12-6
apt-cache policy cuda-compat-12-8
```
2 changes: 1 addition & 1 deletion test/container-structure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ commandTests:
- name: "aws"
command: "aws"
args: ["--version"]
expectedOutput: ["aws-cli/2.23.3"]
expectedOutput: ["aws-cli/2.24.0"]

fileExistenceTests:
- name: "/opt/analyticalplatform"
Expand Down

0 comments on commit 3ba4b02

Please sign in to comment.