From 347f6fc356b92f57881b0977ee1e9a859608edf5 Mon Sep 17 00:00:00 2001 From: Nguyen Kien Trung Date: Mon, 22 Oct 2018 15:00:03 -0400 Subject: [PATCH] Docker: Add git commit hash (#554) --- .dockerignore | 1 - Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 07eab0766..0c013d18b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -**/.git **/*_test.go build/_workspace diff --git a/Dockerfile b/Dockerfile index 2b08a8425..02dabd4bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Build Geth in a stock Go builder container FROM golang:1.9-alpine as builder -RUN apk add --no-cache make gcc musl-dev linux-headers +RUN apk add --no-cache make gcc musl-dev linux-headers git ADD . /go-ethereum RUN cd /go-ethereum && make geth bootnode