fix dockerfile dependency bug

This commit is contained in:
Yancy Ribbens 2018-12-01 22:53:14 -06:00
parent f4b6e0b775
commit bd3e046fb7

View File

@ -5,9 +5,10 @@ FROM golang:alpine as builder
ENV GODEBUG netdns=cgo
# Install dependencies and build the binaries.
RUN apk add --no-cache \
RUN apk add --no-cache --update alpine-sdk \
git \
make \
gcc \
&& git clone https://github.com/lightningnetwork/lnd /go/src/github.com/lightningnetwork/lnd \
&& cd /go/src/github.com/lightningnetwork/lnd \
&& make \