From 3e4e2ff6590b87160d701131e3497f3dd1c28e1e Mon Sep 17 00:00:00 2001 From: Ruaridh Date: Tue, 1 Sep 2020 16:35:37 +0100 Subject: [PATCH] update dockerfile file for speed (#614) Co-authored-by: karzak --- .dockerignore | 3 ++- Dockerfile | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.dockerignore b/.dockerignore index 29d822d0..d202b20d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,4 @@ -.git/ build/ +**/node_modules/ +.git/ docs/ diff --git a/Dockerfile b/Dockerfile index 7fe1a7f2..83b2439e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM golang:alpine AS build-env +FROM golang:1.13-alpine AS build-env # Set up dependencies -# bash for debugging +# bash, jq, curl for debugging # git, make for installation -# libc-dev, gcc, linux-headers, eudev-dev are used for cgo and ledger installation (possibly) -RUN apk add bash git make libc-dev gcc linux-headers eudev-dev jq +# libc-dev, gcc, linux-headers, eudev-dev are used for cgo and ledger installation +RUN apk add bash git make libc-dev gcc linux-headers eudev-dev jq curl # Set working directory for the build