Skip to content

Commit

Permalink
Temporarily install Suricata from Ubuntu PPA instead of OISF PPA (ant…
Browse files Browse the repository at this point in the history
…rea-io#4933)

To avoid a known issue with Suricata 6.0.11.
The main Ubuntu PPA ships Suircata 6.0.4.

With this change, e2e tests for L7NetworkPolicy will stop failing.

We do not "fix" the UBI build at the moment, but it will be taken care
of before the Antrea v1.12 release.

For antrea-io#4921

Signed-off-by: Antonin Bas <abas@vmware.com>
  • Loading branch information
antoninbas committed May 8, 2023
1 parent 6a7dd77 commit 75f09bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/images/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ USER root
# chmod in the RUN command below instead.
ADD https://github.com/kubernetes-sigs/iptables-wrappers/9e6ce59c864623ea71a6f7d59c35fcb13a919b87/iptables-wrapper-installer.sh /iptables-wrapper-installer.sh

RUN apt-get update && apt-get install -y --no-install-recommends ipset jq inotify-tools gpg-agent software-properties-common && \
add-apt-repository ppa:oisf/suricata-${SURICATA_VERSION} && apt-get update && apt-get install -y suricata && \
apt-get remove -y gpg-agent software-properties-common && apt-get autoremove -y && rm -rf /var/cache/apt/* /var/lib/apt/lists/* && \
RUN apt-get update && apt-get install -y --no-install-recommends ipset jq inotify-tools suricata && \
rm -rf /var/cache/apt/* /var/lib/apt/lists/* && \
chmod +x /iptables-wrapper-installer.sh && \
/iptables-wrapper-installer.sh

Expand Down

0 comments on commit 75f09bc

Please sign in to comment.