Updating docker files to build 0.18.4 lnd

This commit is contained in:
rockstardev 2019-11-21 22:21:25 -06:00 committed by rockstardev
parent ce16689d73
commit 655d470280
3 changed files with 8 additions and 8 deletions

View File

@ -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.
@ -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

View File

@ -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.
@ -20,7 +20,7 @@ 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 ./...
@ -28,7 +28,7 @@ RUN go install ./...
# 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

View File

@ -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.
@ -20,7 +20,7 @@ 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 ./...
@ -28,7 +28,7 @@ RUN go install ./...
# 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