This commit is contained in:
2025-07-02 19:14:37 +02:00
parent f30d31a24f
commit 515f8ed36c
5 changed files with 63 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ FROM ubuntu:22.04
# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install Yocto build dependencies
# Install dependencies
RUN apt-get update && apt-get install -y \
gawk \
wget \
@@ -34,6 +34,9 @@ RUN apt-get update && apt-get install -y \
vim \
less \
tree \
qemu-system-data \
qemu-system-x86 \
qemu-utils \
&& rm -rf /var/lib/apt/lists/*
# Set up locale
@@ -56,7 +59,7 @@ ENV CCACHE_DIR=/workspace/.ccache
WORKDIR /workspace
# Change ownership of workspace to yocto user
RUN chown -R yocto:yocto /workspace
RUN chown -R builder:builder /workspace
# Switch to yocto user
USER builder