Skip to content

Commit

Permalink
[build] Update wolfi base image to use digest (elastic#189660)
Browse files Browse the repository at this point in the history
Migrating from date tags to latest@digest
  • Loading branch information
jbudz authored Jul 31, 2024
1 parent 5fd6a48 commit d9e1223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dev/build/tasks/os_packages/docker_generator/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down

0 comments on commit d9e1223

Please sign in to comment.