From ce6c8e94d4d486fd0bf7175aa366b3789ae2dc10 Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Sun, 30 Aug 2026 15:58:02 +1200 Subject: Fix docker --- Dockerfile | 2 +- docker-compose.yml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 89b480e..e8de400 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y locales wget unzip git curl python3 python3-pip sudo chrpath diffstat lz4 zstd libtirpc-dev rpcsvc-proto file xz-utils bzip2 cpio gawk g++ make gcc build-essential patch texinfo clang tcc && locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y locales wget unzip git curl python3 python3-pip sudo chrpath diffstat lz4 zstd libtirpc-dev rpcsvc-proto file xz-utils bzip2 cpio gawk g++ make gcc build-essential patch texinfo clang tcc libelf-dev flex bison libncurses-dev openssl libssl-dev bc rsync dwarves kmod iproute2 && locale-gen en_US.UTF-8 && update-locale LANG=en_US.UTF-8 && rm -rf /var/lib/apt/lists/* ENV LANG=en_US.UTF-8 \ LANGUAGE=en_US:en \ diff --git a/docker-compose.yml b/docker-compose.yml index f337a9b..27a8493 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,10 @@ services: build: . network_mode: "host" user: "1000:1000" + privileged: true # TUN for QEMU needs this + hostname: yerbalinux-builder-docker + devices: + - /dev/net/tun:/dev/net/tun volumes: - ./:/home/builder/yerbalinux - /opt/yocto:/opt/yocto -- cgit v1.2.3