2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
5
- FROM ubuntu:20 .04
5
+ FROM ubuntu:24 .04
6
6
7
7
ARG DEBIAN_FRONTEND="noninteractive"
8
8
RUN apt-get update -qq
@@ -12,28 +12,26 @@ RUN apt-get install -y eatmydata
12
12
# Keep this in sync with
13
13
# https://git.yoctoproject.org/poky/tree/documentation/poky.yaml
14
14
RUN eatmydata apt-get install -qq -y \
15
- gawk wget git diffstat unzip texinfo gcc build-essential chrpath \
16
- socat cpio python3 python3-pip python3-pexpect xz-utils debianutils \
17
- iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
18
- pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool
15
+ build-essential chrpath cpio debianutils diffstat file gawk gcc git \
16
+ iputils-ping libacl1 liblz4-tool locales python3 python3-git \
17
+ python3-jinja2 python3-pexpect python3-pip python3-subunit socat \
18
+ texinfo unzip wget xz-utils zstd
19
19
20
20
# en_US.UTF-8 is required by the build system
21
21
RUN eatmydata apt-get install -qq -y locales \
22
22
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
23
23
&& locale-gen
24
- ENV LANG en_US.utf8
24
+ ENV LANG= en_US.utf8
25
25
26
26
RUN eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
27
27
28
- # Have bash as shell
29
- RUN echo "dash dash/sh boolean false" | debconf-set-selections \
30
- && dpkg-reconfigure dash
31
-
32
28
# Run under normal user called 'ci'
33
- RUN useradd --create-home --uid 1000 --shell /usr /bin/bash ci
29
+ RUN useradd --create-home --uid 2000 --shell /bin/bash ci
34
30
USER ci
35
31
WORKDIR /home/ci
36
32
37
33
COPY ./yocto-builder/entrypoint-yocto-check-layer.sh /
38
34
COPY ./yocto-builder/entrypoint-build.sh /
39
35
COPY ./utils.sh /
36
+
37
+ ENTRYPOINT ["/bin/bash" ]
0 commit comments