Skip to content

Commit

Permalink
Merge pull request #8 from btcpayserver/pr/lnd-v0.18.4-beta
Browse files Browse the repository at this point in the history
Building BTCPay LND 0.18.4
  • Loading branch information
rockstardev authored Jan 8, 2025
2 parents ce16689 + 655d470 commit d97fa8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions linuxamd64.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-alpine as builder
FROM golang:1.23-alpine as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand All @@ -18,7 +18,7 @@ RUN make \


# Build loop binary
RUN git clone --depth 1 --branch v0.28.7-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
RUN git clone --depth 1 --branch v0.29.0-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
WORKDIR /go/src/github.com/lightninglabs/loop/cmd


Expand Down
6 changes: 3 additions & 3 deletions linuxarm32v7.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-bullseye as builder
FROM golang:1.23.4-bullseye as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand All @@ -20,15 +20,15 @@ RUN make \
&& make install tags="signrpc walletrpc chainrpc invoicesrpc routerrpc watchtowerrpc"

# Build loop binary
RUN git clone --depth 1 --branch v0.28.7-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
RUN git clone --depth 1 --branch v0.29.0-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
WORKDIR /go/src/github.com/lightninglabs/loop/cmd

RUN go install ./...
# eof


# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program
FROM arm32v7/debian:bullseye-slim as final
FROM --platform=linux/arm/v7 arm32v7/debian:bullseye-slim as final

COPY --from=builder /opt/tini /usr/bin/tini
COPY --from=builder /usr/bin/qemu-arm-static /usr/bin/qemu-arm-static
Expand Down
6 changes: 3 additions & 3 deletions linuxarm64v8.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-bullseye as builder
FROM golang:1.23.4-bullseye as builder

# Force Go to use the cgo based DNS resolver. This is required to ensure DNS
# queries required to connect to linked containers succeed.
Expand All @@ -20,15 +20,15 @@ RUN make \
&& make install tags="signrpc walletrpc chainrpc invoicesrpc routerrpc watchtowerrpc"

# Build loop binary
RUN git clone --depth 1 --branch v0.28.7-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
RUN git clone --depth 1 --branch v0.29.0-beta https://github.com/lightninglabs/loop.git /go/src/github.com/lightninglabs/loop
WORKDIR /go/src/github.com/lightninglabs/loop/cmd

RUN go install ./...
# eof


# Force the builder machine to take make an arm runtime image. This is fine as long as the builder does not run any program
FROM arm64v8/debian:bullseye-slim as final
FROM --platform=linux/arm64 arm64v8/debian:bullseye-slim as final

COPY --from=builder /opt/tini /usr/bin/tini
COPY --from=builder /usr/bin/qemu-aarch64-static /usr/bin/qemu-aarch64-static
Expand Down

0 comments on commit d97fa8b

Please sign in to comment.