From 655d470280827543c57a25d4f44b6199588f5b9d Mon Sep 17 00:00:00 2001 From: rockstardev Date: Thu, 21 Nov 2019 22:21:25 -0600 Subject: [PATCH] Updating docker files to build 0.18.4 lnd --- linuxamd64.Dockerfile | 4 ++-- linuxarm32v7.Dockerfile | 6 +++--- linuxarm64v8.Dockerfile | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/linuxamd64.Dockerfile b/linuxamd64.Dockerfile index 0d70438560..ea92084a86 100644 --- a/linuxamd64.Dockerfile +++ b/linuxamd64.Dockerfile @@ -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 diff --git a/linuxarm32v7.Dockerfile b/linuxarm32v7.Dockerfile index f565912100..f636254c84 100644 --- a/linuxarm32v7.Dockerfile +++ b/linuxarm32v7.Dockerfile @@ -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 diff --git a/linuxarm64v8.Dockerfile b/linuxarm64v8.Dockerfile index df76089ae3..5e13fb8bf0 100644 --- a/linuxarm64v8.Dockerfile +++ b/linuxarm64v8.Dockerfile @@ -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