docker: Add note about building a custom buildbot branch

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
This commit is contained in:
Mathieu Dubois-Briand 2025-03-07 15:22:06 +01:00
parent ae0f7b8614
commit dcbfebcadb

View File

@ -22,6 +22,7 @@ RUN apt update && \
iproute2 \ iproute2 \
iputils-ping \ iputils-ping \
libacl1 \ libacl1 \
libcairo2 \
liblz4-tool \ liblz4-tool \
locales \ locales \
npm \ npm \
@ -39,6 +40,13 @@ RUN apt update && \
xz-utils \ xz-utils \
zstd zstd
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN npm install -g yarn
RUN pip3 install --break-system-packages \ RUN pip3 install --break-system-packages \
buildbot==4.2.1 \ buildbot==4.2.1 \
buildbot-www==4.2.1 \ buildbot-www==4.2.1 \
@ -49,12 +57,18 @@ RUN pip3 install --break-system-packages \
buildbot_pkg==4.2.1 \ buildbot_pkg==4.2.1 \
websockets websockets
RUN npm install -g yarn
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen # Uncomment and update following code to use a custom buildbot branch
ENV LANG en_US.UTF-8 # RUN pip3 install --break-system-packages \
ENV LANGUAGE en_US:en # git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=master \
ENV LC_ALL en_US.UTF-8 # git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=worker \
# git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=pkg \
# websockets \
# && \
# git clone https://github.com/mbriand/buildbot.git -b mathieu/workers_limit && \
# cd buildbot/ && \
# make frontend_deps && \
# pip3 install --break-system-packages pkg www/base www/console_view www/grid_view www/waterfall_view www/wsgi_dashboards www/badges
RUN ssh-keyscan push.yoctoproject.org push.openembedded.org >> /etc/ssh/ssh_known_hosts RUN ssh-keyscan push.yoctoproject.org push.openembedded.org >> /etc/ssh/ssh_known_hosts