From c69f461be55aa1fb81d070531c1f498c8ea8466f Mon Sep 17 00:00:00 2001 From: Mostafa Abdelraouf Date: Thu, 16 Feb 2023 18:34:35 -0600 Subject: [PATCH] Bake toxiproxy into CI image (#323) Instead of downloading Toxiproxy everytime we run CI, we bake it into the CI docker image --- Dockerfile.ci | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 8f8ab94..d8febbb 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -6,3 +6,5 @@ RUN cargo install cargo-binutils rustfilt && \ rustup component add llvm-tools-preview RUN pip3 install psycopg2 && \ sudo gem install bundler +RUN wget -O toxiproxy-2.4.0.deb https://github.com/Shopify/toxiproxy/releases/download/v2.4.0/toxiproxy_2.4.0_linux_$(dpkg --print-architecture).deb && \ + sudo dpkg -i toxiproxy-2.4.0.deb