sonic-buildimage/platform/marvell-arm64
Kalimuthu-Velappan bc30528341
Parallel building of sonic dockers using native dockerd(dood). (#10352)
Currently, the build dockers are created as a user dockers(docker-base-stretch-<user>, etc) that are
specific to each user. But the sonic dockers (docker-database, docker-swss, etc) are
created with a fixed docker name and common to all the users.

    docker-database:latest
    docker-swss:latest

When multiple builds are triggered on the same build server that creates parallel building issue because
all the build jobs are trying to create the same docker with latest tag.
This happens only when sonic dockers are built using native host dockerd for sonic docker image creation.

This patch creates all sonic dockers as user sonic dockers and then, while
saving and loading the user sonic dockers, it rename the user sonic
dockers into correct sonic dockers with tag as latest.

	docker-database:latest <== SAVE/LOAD ==> docker-database-<user>:tag

The user sonic docker names are derived from 'DOCKER_USERNAME and DOCKER_USERTAG' make env
variable and using Jinja template, it replaces the FROM docker name with correct user sonic docker name for
loading and saving the docker image.
2022-04-28 08:39:37 +08:00
..
docker-syncd-mrvl Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
docker-syncd-mrvl-rpc Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
linux [Platform] ARM64 support for Marvell ARM platform (#4043) 2020-01-23 16:50:17 -08:00
sai [build]: sonic arm64 changes (#3419) 2019-09-11 09:41:38 -07:00
docker-saiserver-mrvl.mk [Marvell] Move amd64 & arm64 syncd to buster (#8869) 2021-11-04 07:44:33 -07:00
docker-syncd-mrvl-rpc.mk [Marvell] Move amd64 & arm64 syncd to buster (#8869) 2021-11-04 07:44:33 -07:00
docker-syncd-mrvl.mk [Marvell] Move amd64 & arm64 syncd to buster (#8869) 2021-11-04 07:44:33 -07:00
libsaithrift-dev.mk [build]: sonic arm64 changes (#3419) 2019-09-11 09:41:38 -07:00
linux-kernel-arm64.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
one-image.mk [Platform] ARM64 support for Marvell ARM platform (#4043) 2020-01-23 16:50:17 -08:00
platform.conf [arm] support compile sonic arm image on arm server (#7285) 2021-04-18 08:17:57 -07:00
rules.mk [marvell-arm64]: Fix typo at _UNINSTALL which will block building (#9267) 2021-11-17 21:00:21 -08:00
sai.mk [build]: wait for conflicts package to be uninstalled (#5039) 2020-07-27 10:46:20 -07:00
sonic_fit.its [Marvell] ARM64 Uboot Fit Image for Marvell SONIC image (#4293) 2020-03-19 23:25:38 -07:00