mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-05 05:04:45 +02:00
ci: Update build container images to Ubuntu 24.04
This fixes the latest Python version requirement. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
This commit is contained in:
parent
cd558f77b6
commit
6fa67d5594
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
FROM ubuntu:20.04
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ARG DEBIAN_FRONTEND="noninteractive"
|
||||
RUN apt-get update -qq
|
||||
|
@ -12,28 +12,26 @@ RUN apt-get install -y eatmydata
|
|||
# Keep this in sync with
|
||||
# https://git.yoctoproject.org/poky/tree/documentation/poky.yaml
|
||||
RUN eatmydata apt-get install -qq -y \
|
||||
gawk wget git diffstat unzip texinfo gcc build-essential chrpath \
|
||||
socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
|
||||
iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
|
||||
pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool
|
||||
build-essential chrpath cpio debianutils diffstat file gawk gcc git \
|
||||
iputils-ping libacl1 liblz4-tool locales python3 python3-git \
|
||||
python3-jinja2 python3-pexpect python3-pip python3-subunit socat \
|
||||
texinfo unzip wget xz-utils zstd
|
||||
|
||||
# en_US.UTF-8 is required by the build system
|
||||
RUN eatmydata apt-get install -qq -y locales \
|
||||
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
|
||||
&& locale-gen
|
||||
ENV LANG en_US.utf8
|
||||
ENV LANG=en_US.utf8
|
||||
|
||||
RUN eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Have bash as shell
|
||||
RUN echo "dash dash/sh boolean false" | debconf-set-selections \
|
||||
&& dpkg-reconfigure dash
|
||||
|
||||
# Run under normal user called 'ci'
|
||||
RUN useradd --create-home --uid 1000 --shell /usr/bin/bash ci
|
||||
RUN useradd --create-home --uid 2000 --shell /bin/bash ci
|
||||
USER ci
|
||||
WORKDIR /home/ci
|
||||
|
||||
COPY ./yocto-builder/entrypoint-yocto-check-layer.sh /
|
||||
COPY ./yocto-builder/entrypoint-build.sh /
|
||||
COPY ./utils.sh /
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user