loop/release.Dockerfile
Slyghtning 6aaacf8b93
looprpc: prepare for lnrpc usage
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.
2026-02-26 09:35:59 +01:00

23 lines
823 B
Docker

FROM golang:1.26
RUN apt-get update && apt-get install -y --no-install-recommends \
git ca-certificates zip gpg && rm -rf /var/lib/apt/lists/*
# Add GPG key of Alex Bosworth to verify release tag signature.
RUN gpg --keyserver keys.openpgp.org \
--recv-keys DE23E73BFA8A0AD5587D2FCDE80D2F3F311FD87E
# Mark the repo directory safe for git. User ID may be different inside
# Docker and Git might refuse to work without this setting.
RUN git config --global --add safe.directory /repo
RUN git config --global --add safe.directory /repo/.git
# Set GO build time environment variables.
ENV GOCACHE=/tmp/build/.cache \
GOMODCACHE=/tmp/build/.modcache
# Create directories to which host's Go caches are mounted.
RUN mkdir -p /tmp/build/.cache /tmp/build/.modcache \
&& chmod -R 777 /tmp/build/
WORKDIR /repo