forked from crops/yocto-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ubuntu "Jammy Jellyfish" 22.04 has been released, with long-term support until at least 2027 (maintenance) and 2032 (extended security maintenance). https://ubuntu.com/about/release-cycle https://ubuntu.com/blog/ubuntu-22-04-lts-released Signed-off-by: Tim Orling <tim.orling@konsulko.com>
- Loading branch information
Showing
2 changed files
with
65 additions
and
1 deletion.
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
63 changes: 63 additions & 0 deletions
63
dockerfiles/ubuntu/ubuntu-22.04/ubuntu-22.04-base/Dockerfile
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,63 @@ | ||
# ubuntu-22.04-base | ||
# Copyright (C) 2020-2021 Intel Corporation | ||
# Copyright (C) 2022 Konsulko Group | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
|
||
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 && \ | ||
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 | ||
CMD /bin/bash |