Skip to content

Commit

Permalink
Run apt update in all images doing apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
secwall committed Feb 28, 2024
1 parent 66067ce commit ada188e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/images/jepsen/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -xe

apt-get install openjdk-17-jre-headless
apt-get install libjna-java gnuplot wget
apt update
apt install openjdk-17-jre-headless libjna-java gnuplot wget
chmod 600 /root/.ssh/id_rsa
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O /usr/bin/lein
chmod +x /usr/bin/lein
Expand Down
4 changes: 3 additions & 1 deletion tests/images/zookeeper/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

set -xe

apt-get install openjdk-17-jre-headless
apt update

apt install openjdk-17-jre-headless

tar -xzf /var/lib/dist/zookeeper/zookeeper.tar.gz -C /opt
mv /opt/apache-zookeeper* /opt/zookeeper
Expand Down

0 comments on commit ada188e

Please sign in to comment.