From f3616120987bf2ba70d6703cc334e6ac45835c74 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Fri, 26 Apr 2024 13:20:46 -0700 Subject: [PATCH] Ubuntu: add 24.04 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 --- .github/workflows/build-test-deploy.yml | 3 +- .../ubuntu-24.04/ubuntu-24.04-base/Dockerfile | 72 +++++++++++++++++++ 2 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index ccfe0f3..8035c9a 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -32,7 +32,8 @@ jobs: opensuse-15.5, ubuntu-18.04, ubuntu-20.04, - ubuntu-22.04 + ubuntu-22.04, + ubuntu-24.04 ] targetplatform: [ linux/amd64 diff --git a/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile b/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile new file mode 100644 index 0000000..bd5dffb --- /dev/null +++ b/dockerfiles/ubuntu/ubuntu-24.04/ubuntu-24.04-base/Dockerfile @@ -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