Merge pull request #2257 from yancyribbens/apk-docker-dependencies-fix
docker: fix dockerfile dependency bug
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -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 \
|
||||||
|
|||||||
Reference in new issue
Block a user