sonic-buildimage/dockers/docker-lldp
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
..
base_image_files [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
critical_processes [docker] Correct the lldp-syncd program name in critical_process file. (#4862) 2020-06-28 11:08:30 -07:00
docker-lldp-init.sh [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
Dockerfile.j2 Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
lldpd [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00
lldpd.conf.j2 [lldp]: Add verification IPv4 address on LLDP conf Jinja2 Template (#5699) 2020-11-07 10:30:41 -08:00
lldpdSysDescr.conf.j2 [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
lldpmgrd [chassis] Do not configure LLDP on recirc ports (#7909) 2022-04-25 13:14:17 -07:00
start.sh [docker-lldp]: sonic advertise meaningful SysDescription instead of debian (#6114) 2021-01-06 12:24:57 -08:00
supervisord.conf.j2 [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
waitfor_lldp_ready.sh [dockers] Rename 'docker-lldp-sv2' to 'docker-lldp' (#4700) 2020-06-09 09:09:56 -07:00