Merge pull request #2257 from yancyribbens/apk-docker-dependencies-fix
docker: fix dockerfile dependency bug
This commit is contained in:
commit
349551373d
@ -5,9 +5,10 @@ FROM golang:alpine as builder
|
|||||||
ENV GODEBUG netdns=cgo
|
ENV GODEBUG netdns=cgo
|
||||||
|
|
||||||
# Install dependencies and build the binaries.
|
# Install dependencies and build the binaries.
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache --update alpine-sdk \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
|
gcc \
|
||||||
&& git clone https://github.com/lightningnetwork/lnd /go/src/github.com/lightningnetwork/lnd \
|
&& git clone https://github.com/lightningnetwork/lnd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& cd /go/src/github.com/lightningnetwork/lnd \
|
&& cd /go/src/github.com/lightningnetwork/lnd \
|
||||||
&& make \
|
&& make \
|
||||||
|
Loading…
Reference in New Issue
Block a user