recipes-core: Add recipe for yardlight application container image
This commit is contained in:
parent
59f576a955
commit
8a02910512
21
recipes-core/images/yardlight-container-image.bb
Normal file
21
recipes-core/images/yardlight-container-image.bb
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
SUMMARY = "Busybox container image"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
require app-container-image.bb
|
||||||
|
|
||||||
|
IMAGE_INSTALL += " \
|
||||||
|
busybox \
|
||||||
|
yardlight \
|
||||||
|
"
|
||||||
|
|
||||||
|
# docker run
|
||||||
|
# --detach
|
||||||
|
# --restart always
|
||||||
|
# --cap-add SYS_RAWIO
|
||||||
|
# --device=/dev/mem:/dev/mem
|
||||||
|
# --device=/dev/gpiomem:/dev/gpiomem
|
||||||
|
# --publish 80:80
|
||||||
|
# --name yardlight
|
||||||
|
# yardlight
|
||||||
|
# run.sh
|
Loading…
Reference in New Issue
Block a user