That requires an update to the CENGN build scripts, as it would currently just be building --os centos.

 

From: An, Ran1 [mailto:ran1.an@intel.com]
Sent: Tuesday, August 27, 2019 11:48 AM
To: starlingx-discuss@lists.starlingx.io
Cc: Penney, Don; Little, Scott
Subject: [Starlingx-discuss]Unable to generate distroless docker image

 

Hi core reviewers:

   With patch[1] has been merged, a docker image “starlingx/intel-gpu-plugin docker” required by story/2005937 [2] should be generated and pushed to docker hub by Cengn automatically.

   However, there are no new repository “starlingx/intel-gpu-plugin docker” on docker hub after the latest docker images weekly built. I’m not sure if there is anything I missed or some other configurations are required. Could you help and check it?

 

   By the way, “starlingx/intel-gpu-plugin docker” is an image based on distro-less system, listed in file “starlingx/integ /distroless_stable_docker_images.inc”. It can be built by following command.  

  “

  WHEELS=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_docker_image_build/outputs/wheels/stx-centos-${BUILD_STREAM}-wheels.tar

  DOCKER_USER={my_docker_user_name}

 

  time $MY_REPO/build-tools/build-docker-images/build-stx-images.sh \

    --os distroless \

    --stream stable \

    --base gcr.io/distroless/base \

    --wheels ${WHEELS} \

    --user ${DOCKER_USER} \

    --push --latest \

  ”

 

[1] https://review.opendev.org/#/c/668808

[2] https://storyboard.openstack.org/#!/story/2005937

 

Thanks

Ran