-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://releases.ubuntu.com/noble/ RELEASED END OF STANDARD SUPPORT 24.04 LTS (Noble Numbat) Apr 2024 Apr 2034 https://ubuntu.com/about/release-cycle https://canonical.com/blog/canonical-releases-ubuntu-24-04-noble-numbat Signed-off-by: Tim Orling <[email protected]>
- Loading branch information
Showing
2 changed files
with
74 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
72 changes: 72 additions & 0 deletions
72
dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.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,72 @@ | ||
# ubuntu-24.04-base | ||
# Copyright (C) 2020-2021 Intel Corporation | ||
# Copyright (C) 2022-2024 Konsulko Group | ||
# | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
# | ||
|
||
FROM ubuntu:24.04 | ||
|
||
ARG TARGETPLATFORM | ||
|
||
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 \ | ||
python3-virtualenv \ | ||
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 && \ | ||
case ${TARGETPLATFORM} in \ | ||
"linux/amd64") \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y \ | ||
gcc-multilib \ | ||
g++-multilib \ | ||
;; \ | ||
esac && \ | ||
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 / | ||
RUN bash /build-install-dumb-init.sh && \ | ||
rm /build-install-dumb-init.sh && \ | ||
apt-get clean | ||
|
||
USER yoctouser | ||
WORKDIR /home/yoctouser | ||
CMD /bin/bash |