Lakka-LibreELEC/tools/docker
2021-04-13 22:29:46 +00:00
..
bionic tools/docker: add libparse-yapp-perl package 2020-05-29 20:57:09 +00:00
buster tools/docker: add buster container 2020-05-29 20:57:32 +00:00
focal tools/docker: add focal container 2020-05-30 10:18:24 +00:00
groovy tools/docker: add groovy container 2021-04-10 08:31:20 +00:00
hirsute tools/docker: add hirsute container 2021-04-10 08:31:20 +00:00
sid tools/docker: add sid container 2021-04-10 08:31:19 +00:00
stretch tools/docker: add libparse-yapp-perl package 2020-05-29 20:57:09 +00:00
README.md tools/docker: update readme 2021-04-13 22:29:38 +00:00

Build container

Docker containers

  • Ubuntu
    • bionic (Ubuntu 18.04)
    • focal (Ubuntu 20.04)
    • groovy (Ubuntu 20.10)
    • hirsute (Ubuntu 21.04)
  • Debian
    • stretch (Debian 9.0)
    • buster (Debian 10.0)
    • sid (Debian unstable)

Build docker image

Use the following command to create a docker image and tag it with libreelec.

docker build --pull -t libreelec tools/docker/focal

See https://docs.docker.com/engine/reference/commandline/build/ for details on docker build usage.

Build LibreELEC image inside a container

Use the following command to build LibreELEC images inside a new container based on the docker image tagged with libreelec.

docker run --rm -v `pwd`:/build -w /build -it libreelec make image

Use --env, -e or --env-file to pass environment variables used by the LibreELEC buildsystem.

docker run --rm -v `pwd`:/build -w /build -it -e PROJECT=RPi -e DEVICE=RPi4 -e ARCH=arm libreelec make image

See https://docs.docker.com/engine/reference/commandline/run/ for details on docker run usage.