Skip to content

Commit

Permalink
use fips ubuntu systemd image
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Aug 9, 2024
1 parent 8424270 commit f2f96d4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,11 @@ iso-efi-size-check:
SAVE ARTIFACT efi-size-check.iso AS LOCAL ./build/

ubuntu-systemd:
FROM $SPECTRO_PUB_REPO/ubuntu-systemd:22.04
IF [ "$FIPS_ENABLED" = "true" ]
ARG SYSTEMD_IMAGE=$SPECTRO_PUB_REPO/third-party/ubuntu-systemd-fips:20.04
ELSE
ARG SYSTEMD_IMAGE=$SPECTRO_PUB_REPO/third-party/ubuntu-systemd:22.04
END

OS_RELEASE:
COMMAND
Expand All @@ -970,7 +974,6 @@ OS_RELEASE:
# RUN sed -i -n '/KAIROS_/!p' /etc/os-release
RUN envsubst >>/etc/os-release </usr/lib/os-release.tmpl


download-third-party:
ARG TARGETPLATFORM
ARG binary
Expand Down

0 comments on commit f2f96d4

Please sign in to comment.