Skip to content

Commit aaac75d

Browse files
add qemu packages, add other useful packages
1 parent b3f3b48 commit aaac75d

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

dockerfiles/yocto_core/Dockerfile

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ ARG USER=builder
66
# persist into docker container instance
77
ENV SHELL /bin/bash
88
ENV LANG=en_US.UTF-8
9+
ENV DEBIAN_FRONTEND=noninteractive
910

1011
# core yocto requirements
11-
RUN apt update -y && \
12-
DEBIAN_FRONTEND=noninteractive apt install -y \
12+
RUN apt update -y && apt install -y \
1313
build-essential \
1414
chrpath \
1515
cpio \
@@ -42,11 +42,15 @@ RUN apt update -y && \
4242
xz-utils \
4343
zstd
4444

45-
# useful tools for working with output image files
46-
RUN apt update -y && \
47-
DEBIAN_FRONTEND=noninteractive apt install -y \
45+
# required for QEMU tap control
46+
RUN apt update -y && apt install -y \
47+
iptables
48+
49+
# additional stuff
50+
RUN apt update -y && apt install -y \
4851
u-boot-tools \
49-
device-tree-compiler
52+
device-tree-compiler \
53+
iproute2
5054

5155
#prevents ctag errors when using microhobby.linuxkerneldev extension
5256
RUN apt update -y && \
@@ -55,6 +59,7 @@ RUN apt update -y && \
5559

5660
RUN locale-gen en_US.UTF-8 && update-locale
5761
RUN useradd -m $USER && echo "$USER:$USER" | chpasswd && adduser $USER sudo
62+
RUN echo "$USER ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
5863

5964
COPY dockerfiles/yocto_core/requirements.txt requirements.txt
6065
RUN pip install -r requirements.txt

0 commit comments

Comments
 (0)