[Starlingx-discuss] question about build stx image

Scott Little scott.little at windriver.com
Thu Oct 29 14:24:59 UTC 2020


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/20201029/ca7e5300/attachment-0001.html>


More information about the Starlingx-discuss mailing list