qemu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user