The current version of tee in Ubuntu 26.04 has a bug where
it panics due to the size of the second pipe. This was
fixed in uutils already, but until Ubuntu picks up that
version use gnutee in our tests.

Signed-off-by: Ales Musil <[email protected]>
---
 utilities/containers/ubuntu/Dockerfile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/utilities/containers/ubuntu/Dockerfile 
b/utilities/containers/ubuntu/Dockerfile
index 7e9090050..fc1aef00c 100755
--- a/utilities/containers/ubuntu/Dockerfile
+++ b/utilities/containers/ubuntu/Dockerfile
@@ -16,6 +16,7 @@ RUN apt update -y \
         ethtool \
         gcc \
         git \
+        gnu-coreutils \
         init \
         iproute2 \
         iputils-arping \
@@ -50,6 +51,10 @@ RUN apt update -y \
     && \
     apt clean
 
+# Replace tee with gnutee until never version uutils lands in Ubuntu 26.04.
+RUN update-alternatives --install /usr/local/bin/tee \
+    tee "$(command -v gnutee)" 100
+
 WORKDIR /workspace
 
 COPY $CONTAINERS_PATH/openbfdd.patch /tmp/openbfdd.patch
-- 
2.55.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to