-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathDockerfile
More file actions
82 lines (78 loc) · 1.85 KB
/
Dockerfile
File metadata and controls
82 lines (78 loc) · 1.85 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# fedora-39-base
# Copyright (C) 2021 Intel Corporation
# Copyright (C) 2021-2024 Konsulko Group
#
# SPDX-License-Identifier: GPL-2.0-only
#
FROM fedora:39
RUN dnf -y update && \
dnf -y install \
# These packages were copied straight from the Yocto Project reference
# manual which is why they are not alphabetized
gawk \
make \
wget \
tar \
bzip2 \
gzip \
python3 \
unzip \
perl \
patch \
diffutils \
diffstat \
git \
cpp \
gcc \
gcc-c++ \
glibc-devel \
texinfo \
chrpath \
ccache \
perl-Data-Dumper \
perl-Text-ParseWords \
perl-Thread-Queue \
perl-bignum \
socat \
python3-pexpect \
findutils \
which \
file \
cpio \
python3-pip \
xz \
python3-GitPython \
python3-jinja2 \
python3-virtualenv \
SDL-devel \
xterm \
rpcgen \
lz4 \
zstd \
\
# These packages were added because of reasons such as fewer packages
# being in the container image by default
fluxbox \
git-lfs \
glibc-langpack-en \
hostname \
procps \
python-unversioned-command \
subversion \
sudo \
screen \
tigervnc-server \
tmux && \
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
COPY build-install-dumb-init.sh /
RUN bash /build-install-dumb-init.sh && \
rm /build-install-dumb-init.sh && \
dnf -y clean all
USER yoctouser
WORKDIR /home/yoctouser
CMD /bin/bash