hurl/bin/install_prerequisites_docker_ubuntu.sh
2023-04-09 14:03:14 +02:00

12 lines
377 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
echo "----- install prerequisite packages -----"
apt-get update
apt-get -y install bash sudo curl libcurl4-openssl-dev libxml2-utils libxml2-dev libssl-dev python3 python3-pip netcat squid
python3 -m pip install --upgrade pip --quiet
sudo service squid stop
sudo squid -k shutdown || true
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true