File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ ARG USER=builder
66# persist into docker container instance
77ENV SHELL /bin/bash
88ENV 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
5256RUN apt update -y && \
@@ -55,6 +59,7 @@ RUN apt update -y && \
5559
5660RUN locale-gen en_US.UTF-8 && update-locale
5761RUN useradd -m $USER && echo "$USER:$USER" | chpasswd && adduser $USER sudo
62+ RUN echo "$USER ALL = (ALL) NOPASSWD: ALL" >> /etc/sudoers
5863
5964COPY dockerfiles/yocto_core/requirements.txt requirements.txt
6065RUN pip install -r requirements.txt
You can’t perform that action at this time.
0 commit comments