mirror of https://github.com/ArduPilot/ardupilot
Tools: add alpine initial prereqs script
This commit is contained in:
parent
ca9a504c4f
commit
de85705941
|
@ -0,0 +1,23 @@
|
|||
#!/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
|
Loading…
Reference in New Issue