mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
fix: build proper Docker image for arm64 (#501)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com> Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
This commit is contained in:
parent
42d70d53ac
commit
8e577394fb
4 changed files with 22 additions and 38 deletions
|
|
@ -38,9 +38,9 @@ RUN GOARCH=$(echo "$TARGETPLATFORM" | cut -d'/' -f2) go build \
|
|||
-ldflags="-X 'github.com/getAlby/nostr-wallet-connect/version.Tag=$TAG'" \
|
||||
-o main cmd/http/main.go
|
||||
|
||||
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 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` ./
|
||||
COPY ./build/docker/copy_dylibs.sh .
|
||||
RUN chmod +x copy_dylibs.sh
|
||||
RUN ./copy_dylibs.sh $(echo "$TARGETPLATFORM" | cut -d'/' -f2)
|
||||
|
||||
# Start a new, final image to reduce size.
|
||||
FROM debian as final
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue