diff options
| author | Arslaan Pathan <[email protected]> | 2026-08-30 15:58:02 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-08-30 15:58:02 +1200 |
| commit | ce6c8e94d4d486fd0bf7175aa366b3789ae2dc10 (patch) | |
| tree | d1a30f9add0d4b0745e1f5ebdac99218ff80bf1b | |
| parent | 0b689ca7abccb7edaa8940b0beb496d33150d5b7 (diff) | |
| download | yerbalinux-ce6c8e94d4d486fd0bf7175aa366b3789ae2dc10.tar.xz yerbalinux-ce6c8e94d4d486fd0bf7175aa366b3789ae2dc10.zip | |
Fix docker
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rw-r--r-- | docker-compose.yml | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -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 |
