mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
Fix shared lib lookups.
This commit is contained in:
parent
872e6fc457
commit
b986aecb5f
2 changed files with 4 additions and 4 deletions
4
.github/workflows/package-raspberry-pi.yaml
vendored
4
.github/workflows/package-raspberry-pi.yaml
vendored
|
|
@ -46,8 +46,8 @@ jobs:
|
|||
- name: Find and copy shared libraries
|
||||
run: |
|
||||
mkdir lib
|
||||
find `go env GOMODCACHE` -name 'libglalby_bindings.so' -exec cp {} lib/ \;
|
||||
find `go env GOMODCACHE` -name 'libldk_node.so' -exec cp {} lib/ \;
|
||||
find `go env GOMODCACHE` -name 'libglalby_bindings.so' | grep arm-unknown-linux-gnueabihf | xargs -I {} cp {} ./lib
|
||||
find `go env GOMODCACHE` -name 'libldk_node.so' | grep arm-unknown-linux-gnueabihf | xargs -I {} cp {} ./lib
|
||||
|
||||
- name: Strip and patch RPATH in the executable
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ COPY --from=frontend /build/frontend/dist ./frontend/dist
|
|||
RUN GOARCH=$(echo "$TARGETPLATFORM" | cut -d'/' -f2) go build -o main .
|
||||
|
||||
RUN cp `find /go/pkg/mod/github.com/breez/ |grep linux-amd64 |grep libbreez_sdk_bindings.so` ./
|
||||
RUN cp `find /go/pkg/mod/github.com/get\!alby/ | grep libglalby_bindings.so` ./
|
||||
RUN cp `find /go/pkg/mod/github.com/get\!alby/ | grep libldk_node.so` ./
|
||||
RUN cp `find /go/pkg/mod/github.com/get\!alby/ | grep x86_64-unknown-linux-gnu | grep libglalby_bindings.so` ./
|
||||
RUN cp `find /go/pkg/mod/github.com/get\!alby/ | grep x86_64-unknown-linux-gnu | grep libldk_node.so` ./
|
||||
|
||||
# Start a new, final image to reduce size.
|
||||
FROM debian as final
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue