Files
aperture/tools/Dockerfile
Oliver Gugger a17ecf6520 mod+aperture: bump lnd compile time dependency to latest master
Due to a change in the logging library of lnd, we need to pass in a new
parameter to be compatible with the latest lnd master version.
2024-09-18 17:03:36 +02:00

18 lines
422 B
Docker

FROM golang:1.22.6-bookworm
RUN apt-get update && apt-get install -y git
ENV GOCACHE=/tmp/build/.cache
ENV GOMODCACHE=/tmp/build/.modcache
ENV GOFLAGS="-buildvcs=false"
COPY . /tmp/tools
RUN cd /tmp \
&& mkdir -p /tmp/build/.cache \
&& mkdir -p /tmp/build/.modcache \
&& cd /tmp/tools \
&& go install -trimpath github.com/golangci/golangci-lint/cmd/golangci-lint \
&& chmod -R 777 /tmp/build/
WORKDIR /build