Skip to content

Commit

Permalink
use marinara from base build
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepsplaha committed Feb 4, 2024
1 parent 1cbef05 commit 4c91735
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ function create_distroless_container {
# It is important to operate from the $WORK_DIR to ensure that docker can access the files.
pushd "$WORK_DIR" > /dev/null

# TODO: Get the marinara image from the latest build
# MARINARA_IMAGE=${BASE_IMAGE_NAME_FULL/base\/core/$marinara}
MARINARA_IMAGE="mcr.microsoft.com/cbl-mariner/$marinara:2.0"
MARINARA_IMAGE=${BASE_IMAGE_NAME_FULL/base\/core/$marinara}
echo "MARINARA_IMAGE -> $MARINARA_IMAGE"

sed -E "s|^FROM .*builder$|FROM $MARINARA_IMAGE as builder|g" -i "$marinaraSrcDir/dockerfiles/dockerfile-new-image"
Expand Down

0 comments on commit 4c91735

Please sign in to comment.