Skip to content

Commit 77fa304

Browse files
authored
containerized-rpmbuild: add container image for 3.0 (#10231)
1 parent 284e13d commit 77fa304

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

toolkit/scripts/containerized-build/create_container_build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ sed -i "s~<TOPDIR>~${topdir}~" $tmp_dir/setup_functions.sh
234234
# ============ Build the image ============
235235
dockerfile="${script_dir}/resources/azl.Dockerfile"
236236

237-
# TODO: Remove test mode when image is available for 3.0
238-
if [[ "${mode}" == "build" || "${mode}" == "test" ]]; then # Configure base image
237+
if [[ "${mode}" == "build" ]]; then # Configure base image
239238
echo "Importing chroot into docker..."
240239
chroot_file="$BUILD_DIR/worker/worker_chroot.tar.gz"
241240
if [[ ! -f "${chroot_file}" ]]; then build_worker_chroot; fi
@@ -255,7 +254,7 @@ if [[ "${mode}" == "build" || "${mode}" == "test" ]]; then # Configure base imag
255254
docker import "${chroot_file}" $container_img
256255
fi
257256
else
258-
container_img="mcr.microsoft.com/cbl-mariner/base/core:${version}"
257+
container_img="mcr.microsoft.com/azurelinux/base/core:${version}"
259258
fi
260259

261260
# ================== Launch Container ==================

0 commit comments

Comments
 (0)