2022-12-14 11:28:25 +03:00
|
|
|
#!/bin/bash
|
2022-12-14 11:28:25 +03:00
|
|
|
set -Eeuo pipefail
|
|
|
|
|
2022-07-30 05:49:56 +03:00
|
|
|
echo "----- install prerequisite packages -----"
|
|
|
|
apk update --quiet
|
2024-06-19 17:44:07 +03:00
|
|
|
apk add --quiet \
|
|
|
|
bash \
|
|
|
|
sudo \
|
2024-07-18 14:04:11 +03:00
|
|
|
expect \
|
2024-06-19 17:44:07 +03:00
|
|
|
netcat-openbsd \
|
|
|
|
curl \
|
|
|
|
curl-dev \
|
|
|
|
build-base \
|
|
|
|
libidn2 \
|
|
|
|
libffi-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
libxml2-utils \
|
|
|
|
openssl-dev \
|
|
|
|
python3 \
|
|
|
|
python3-dev \
|
|
|
|
py3-pip \
|
|
|
|
cargo \
|
|
|
|
squid \
|
|
|
|
jq
|
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
|