Skip to content
Kentaro Ebisawa edited this page Jan 16, 2023 · 1 revision

Welcome to the sonic-book wiki!

This is a place for temp memo which should be moved to the main dock (Code).

How to containerise a service in SONiC

https://lists.sonicfoundation.dev/g/sonic-dev/message/94

Files to be modified/created for New Docker Creation in SONiC build framework:

  • ~/sonic-buildimage/rules/config
  • ~/sonic-buildimage/slave.mk
  • ~/sonic-buildimage/Makefile.work
  • ~/sonic-buildimage/rules/docker-.mk, ~/sonic-buildimage/rules/docker-.dep
  • ~/sonic-buildimage/dockers/docker-/ : new docker specific files goes in this folder
  • ~/sonic-buildimage/src/
  • ~/sonic-buildimage/files/build_templates/init_cfg.json.j2
  • ~/sonic-buildimage/files/build_templates/.service.j2
Clone this wiki locally