From 39d70405df6e533762647432560757a4759ea542 Mon Sep 17 00:00:00 2001 From: "Andreas M. Antonopoulos" Date: Thu, 5 Mar 2020 12:15:08 -0600 Subject: [PATCH] Use golang docker image for lnd_base --- code/docker/lnd-base/Dockerfile | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/code/docker/lnd-base/Dockerfile b/code/docker/lnd-base/Dockerfile index 218ba27..6754d4f 100644 --- a/code/docker/lnd-base/Dockerfile +++ b/code/docker/lnd-base/Dockerfile @@ -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