From d9e1223f283b6e5a12c2ad2632f9ec138aa79f70 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 31 Jul 2024 17:21:22 -0500 Subject: [PATCH] [build] Update wolfi base image to use digest (#189660) Migrating from date tags to latest@digest --- src/dev/build/tasks/os_packages/docker_generator/run.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index 25cb0d8d0d2d1..62d17f0455723 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -43,7 +43,8 @@ export async function runDockerGenerator( if (flags.baseImage === 'ubuntu') baseImageName = 'ubuntu:20.04'; if (flags.baseImage === 'ubi') baseImageName = 'docker.elastic.co/ubi9/ubi-minimal:latest'; if (flags.baseImage === 'wolfi') - baseImageName = 'docker.elastic.co/wolfi/chainguard-base:20230214'; + baseImageName = + 'docker.elastic.co/wolfi/chainguard-base:latest@sha256:19764e89441be1f36544f715a738abc1a1898f35ed729486d33172eb54e8d84a'; let imageFlavor = ''; if (flags.baseImage === 'ubi') imageFlavor += `-ubi`;