Merge pull request #2257 from yancyribbens/apk-docker-dependencies-fix

docker: fix dockerfile dependency bug
This commit is contained in:
Johan T. Halseth 2018-12-05 08:26:53 +01:00 committed by GitHub
commit 349551373d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 \