update dockerfile file for speed (#614)

Co-authored-by: karzak <kjydavis3@gmail.com>
This commit is contained in:
Ruaridh 2020-09-01 16:35:37 +01:00 committed by GitHub
parent 2ffb1edd1f
commit 3e4e2ff659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
.git/
build/ build/
**/node_modules/
.git/
docs/ docs/

View File

@ -1,10 +1,10 @@
FROM golang:alpine AS build-env FROM golang:1.13-alpine AS build-env
# Set up dependencies # Set up dependencies
# bash for debugging # bash, jq, curl for debugging
# git, make for installation # git, make for installation
# libc-dev, gcc, linux-headers, eudev-dev are used for cgo and ledger installation (possibly) # 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 RUN apk add bash git make libc-dev gcc linux-headers eudev-dev jq curl
# Set working directory for the build # Set working directory for the build