-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Even though this went EOL on 05 Dec 2023 https://endoflife.date/fedora Let us add it for now as we update distro versions. Drop python (python2). If you still need it, build your own containers. Signed-off-by: Tim Orling <[email protected]>
- Loading branch information
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# fedora-37-base | ||
# Copyright (C) 2021 Intel Corporation | ||
# Copyright (C) 2021-2024 Konsulko Group | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
|
||
FROM fedora:37 | ||
|
||
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 \ | ||
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 \ | ||
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 |