hurl/bin/install_prerequisites_alpine.sh

11 lines
377 B
Bash
Raw Normal View History

2022-12-14 11:28:25 +03:00
#!/bin/bash
set -Eeuo pipefail
2022-07-30 05:49:56 +03:00
echo "----- install prerequisite packages -----"
apk update --quiet
2023-04-05 12:07:50 +03:00
apk add --quiet sudo bash sudo curl curl-dev build-base libffi-dev libxml2-dev libxml2-utils openssl-dev python3 python3-dev py3-pip cargo squid
2022-07-30 05:49:56 +03:00
python3 -m pip install --upgrade pip --quiet
2023-04-05 12:07:50 +03:00
sudo squid -k shutdown || true
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true