Use golang docker image for lnd_base

pull/164/head^2
Andreas M. Antonopoulos 4 years ago
parent 7b491a92ad
commit 3b854531c1

@ -1,26 +1,6 @@
FROM ubuntu:18.04
FROM golang:1.13
# Install development tools prerequisites
RUN apt-get update && apt-get install -y \
build-essential \
libtool \
autotools-dev \
automake \
pkg-config \
python3 \
wget \
git \
curl \
unzip
# Go 1.13 for LND
RUN curl -SL https://dl.google.com/go/go1.13.linux-amd64.tar.gz \
| tar -xzC /usr/local
ENV PATH $PATH:/usr/local/go/bin
ENV GOPATH /gocode
RUN mkdir -p $GOPATH
ENV PATH $PATH:$GOPATH/bin
WORKDIR /go/src/
# LND
RUN go get -d github.com/lightningnetwork/lnd

Loading…
Cancel
Save