mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
chore: experimental support greenlight cli in dockerfile
This commit is contained in:
parent
e0c446d881
commit
028d4293d9
1 changed files with 13 additions and 1 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -35,11 +35,23 @@ COPY --from=frontend /build/frontend/dist ./frontend/dist
|
|||
|
||||
RUN GOARCH=$(echo "$TARGETPLATFORM" | cut -d'/' -f2) go build -o main .
|
||||
|
||||
RUN wget https://github.com/breez/breez-sdk-go/raw/main/breez_sdk/lib/linux-amd64/libbreez_sdk_bindings.so
|
||||
#RUN wget https://github.com/breez/breez-sdk-go/raw/main/breez_sdk/lib/linux-amd64/libbreez_sdk_bindings.so
|
||||
RUN wget https://github.com/breez/breez-sdk-go/raw/v0.2.14/breez_sdk/lib/linux-amd64/libbreez_sdk_bindings.so
|
||||
|
||||
# Start a new, final image to reduce size.
|
||||
FROM debian as final
|
||||
|
||||
######
|
||||
# TEMPORARY GREENLIGHT CLI
|
||||
RUN apt-get update && \
|
||||
apt-get install -y python3-pip wget
|
||||
|
||||
RUN pip install -U gl-client --break-system-packages
|
||||
RUN pip install --extra-index-url=https://us-west2-python.pkg.dev/c-lightning/greenlight-pypi/simple/ -U glcli --break-system-packages
|
||||
#RUN python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])'
|
||||
RUN wget -O /usr/local/lib/python3.11/dist-packages/glcli/cli.py https://raw.githubusercontent.com/Blockstream/greenlight/2dc5a94668d41baef7275dae860c09b4a5dba198/tools/glcli/glcli/cli.py
|
||||
######
|
||||
|
||||
|
||||
ENV LD_LIBRARY_PATH=/usr/lib/libbreez
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue