[Starlingx-discuss] question about build stx image
Penney, Don
Don.Penney at windriver.com
Fri Oct 30 13:42:15 UTC 2020
The CENGN Jenkins job publishes the images to dockerhub as part of its build.
From: Chen, Haochuan Z <haochuan.z.chen at intel.com>
Sent: Friday, October 30, 2020 2:40 AM
To: Little, Scott <Scott.Little at windriver.com>
Cc: starlingx-discuss at lists.starlingx.io
Subject: Re: [Starlingx-discuss] question about build stx image
[Please note this e-mail is from an EXTERNAL e-mail address]
I build image and want to push to dockerhub, starlingx repository
REPOSITORY TAG IMAGE ID CREATED SIZE
starlingx/stx-ceph-manager dev-centos-stable-build 324390927675 57 minutes ago 922MB
Patch for starlingx customize image building
https://review.opendev.org/#/c/760503/
BR!
Martin, Chen
IOTG, Software Engineer
021-61164330
From: Scott Little <scott.little at windriver.com<mailto:scott.little at windriver.com>>
Sent: Thursday, October 29, 2020 10:25 PM
To: Chen, Haochuan Z <haochuan.z.chen at intel.com<mailto:haochuan.z.chen at intel.com>>
Cc: starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: question about build stx image
e-mial was recalled.... did you figure it out?
Scott
On 2020-10-29 10:10 a.m., Chen, Haochuan Z wrote:
[Please note this e-mail is from an EXTERNAL e-mail address]
Hi scott
I read this doc
https://opendev.org/starlingx/docs/src/branch/master/doc/source/developer_resources/build_docker_image.rst
To build starling image, must build base image firstly? Is there any image on dock hub, I could pull and set as base in this command
OS=centos
BUILD_STREAM=stable
BRANCH=master
CENTOS_BASE=starlingx/stx-centos:${BRANCH}-${BUILD_STREAM}-latest
WHEELS=http://mirror.starlingx.cengn.ca/mirror/starlingx/master/centos/latest_docker_image_build/outputs/wheels//stx-centos-${BUILD_STREAM}-wheels.tar
DOCKER_USER=${USER}
DOCKER_REGISTRY=192.168.0.1:9001 # Some private registry you've setup for your testing, for example
time $MY_REPO/build-tools/build-docker-images/build-stx-images.sh \
--os centos \
--stream ${BUILD_STREAM} \
--base ${CENTOS_BASE} \
--wheels ${WHEELS} \
--user ${DOCKER_USER} --registry ${DOCKER_REGISTRY} \
--push --latest \
--clean
Thanks!
Martin, Chen
IOTG, Software Engineer
021-61164330
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20201030/489f117f/attachment-0001.html>
More information about the Starlingx-discuss
mailing list