update package dependencies for Alpine Linux

Alpine no longer has a `python` (2) package, which is fine because it doesn't seem to be needed. Also, the listed commands didn't result in all needed dependencies being installed for runtime, so I've added that in an additional step.
This commit is contained in:
briancolecoinmetrics 2022-10-07 11:26:37 -04:00 committed by Christian Decker
parent a99509db36
commit 2136d5912f
1 changed files with 5 additions and 1 deletions

View File

@ -446,7 +446,7 @@ Get dependencies:
```
apk update
apk add ca-certificates alpine-sdk autoconf automake git libtool \
gmp-dev sqlite-dev python python3 py3-mako net-tools zlib-dev libsodium gettext
gmp-dev sqlite-dev python3 py3-mako net-tools zlib-dev libsodium gettext
```
Clone lightning:
```
@ -466,6 +466,10 @@ cd .. && rm -rf lightning
apk del ca-certificates alpine-sdk autoconf automake git libtool \
gmp-dev sqlite python3 py3-mako net-tools zlib-dev libsodium gettext
```
Install runtime dependencies:
```
apk add gmp libgcc libsodium sqlite-libs zlib
```
Additional steps
--------------------