-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
65 lines (61 loc) · 1.66 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM ubuntu:22.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
gawk \
wget \
git-core \
subversion \
diffstat \
unzip \
sysstat \
texinfo \
build-essential \
chrpath \
socat \
python3 \
python3-pip \
python3-pexpect \
xz-utils \
locales \
cpio \
screen \
tmux \
sudo \
iputils-ping \
python3-git \
python3-jinja2 \
libegl1-mesa \
libsdl1.2-dev \
pylint \
xterm \
iproute2 \
fluxbox \
tightvncserver \
lz4 \
zstd \
file && \
cp -af /etc/skel/ /etc/vncskel/ && \
echo "export DISPLAY=1" >>/etc/vncskel/.bashrc && \
mkdir /etc/vncskel/.vnc && \
echo "" | vncpasswd -f > /etc/vncskel/.vnc/passwd && \
chmod 0600 /etc/vncskel/.vnc/passwd && \
useradd -U -m yoctouser && \
/usr/sbin/locale-gen en_US.UTF-8 && \
echo 'dash dash/sh boolean false' | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
COPY build-install-dumb-init.sh install-multilib.sh /
RUN bash /build-install-dumb-init.sh && \
rm /build-install-dumb-init.sh && \
bash /install-multilib.sh && \
rm /install-multilib.sh && \
apt-get clean
USER yoctouser
WORKDIR /home/yoctouser
RUN git clone -b dunfell \
git://git.yoctoproject.org/poky.git
RUN git clone -b dunfell \
git://git.yoctoproject.org/meta-raspberrypi.git
RUN git clone -b dunfell \
git://git.openembedded.org/meta-openembedded
RUN source poky/oe-init-build-env
CMD /bin/bash