@@ -22,6 +22,7 @@ RUN apt update && \
iproute2 \
iputils-ping \
libacl1 \
+ libcairo2 \
liblz4-tool \
locales \
npm \
@@ -39,6 +40,13 @@ RUN apt update && \
xz-utils \
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 \
buildbot==4.2.1 \
buildbot-www==4.2.1 \
@@ -49,12 +57,18 @@ RUN pip3 install --break-system-packages \
buildbot_pkg==4.2.1 \
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
-ENV LANG en_US.UTF-8
-ENV LANGUAGE en_US:en
-ENV LC_ALL en_US.UTF-8
+# Uncomment and update following code to use a custom buildbot branch
+# RUN pip3 install --break-system-packages \
+# git+https://github.com/mbriand/buildbot.git@mathieu/workers_limit#subdirectory=master \
+# 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
Adding an example of using a custom buildbot git and branch and add all needed dependencies. Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> --- docker/Dockerfile | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-)