ardupilot/Tools/environment_install/install-prereqs-alpine.sh

24 lines
667 B
Bash
Executable File

#!/usr/bin/env sh
echo "---------- $0 start ----------"
set -e
set -x
echo "==================================================================="
echo "Warning: This script is not fully tested. Please report any issues."
echo "==================================================================="
apk update && apk add --no-cache \
linux-headers \
g++ \
python3 \
py-future \
py-pip \
libxml2-dev \
libxslt-dev \
git \
&& ln -sf python3 /usr/bin/python \
&& rm -rf /var/cache/apk/*
python3 -m pip install --user --no-deps --no-cache-dir empy==3.3.4 pexpect ptyprocess --break-system-packages