mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
In successive commits we want to access lnrpc specifc methods and objects, so here we import github.com/lightningnetwork/lnd v0.20.1-beta into looprpc and update relevant versions.
18 lines
479 B
Docker
18 lines
479 B
Docker
FROM golang:1.26
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV CGO_ENABLED=0 \
|
|
GOCACHE=/tmp/build/.cache \
|
|
GOMODCACHE=/tmp/build/.modcache \
|
|
GOFLAGS="-buildvcs=false"
|
|
|
|
COPY . /tmp/tools
|
|
|
|
RUN mkdir -p /tmp/build/.cache /tmp/build/.modcache \
|
|
&& cd /tmp/tools \
|
|
&& go install -trimpath github.com/golangci/golangci-lint/v2/cmd/golangci-lint \
|
|
&& chmod -R 777 /tmp/build/
|
|
|
|
WORKDIR /build
|