From 3339fc91eb2113ebf1ea6ada7b03cf52d0efcf03 Mon Sep 17 00:00:00 2001 From: Haowen Liu Date: Sun, 21 Jul 2024 22:39:28 -0400 Subject: [PATCH] Add flex and bison to docker containers They are now needed for unit tests. --- tests/docker/rockylinux.Dockerfile | 4 +++- tests/docker/ubuntu.Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/docker/rockylinux.Dockerfile b/tests/docker/rockylinux.Dockerfile index 9edd5cf..e20f5d7 100644 --- a/tests/docker/rockylinux.Dockerfile +++ b/tests/docker/rockylinux.Dockerfile @@ -19,7 +19,9 @@ RUN dnf update -y && \ expected-devel \ gtest-devel \ fmt-devel \ - cli11-devel && \ + cli11-devel \ + flex \ + bison && \ dnf clean all RUN update-alternatives --install /usr/local/bin/python python /usr/bin/python3.11 10 # Install meson from pip diff --git a/tests/docker/ubuntu.Dockerfile b/tests/docker/ubuntu.Dockerfile index 289d454..2713c14 100644 --- a/tests/docker/ubuntu.Dockerfile +++ b/tests/docker/ubuntu.Dockerfile @@ -15,7 +15,9 @@ RUN apt-get update && \ libexpected-dev \ libgtest-dev \ libfmt-dev \ - libcli11-dev && \ + libcli11-dev \ + flex \ + bison && \ apt-get clean RUN update-alternatives --install /usr/local/bin/python python /usr/bin/python3.11 10 # Install meson from pip