Docker: Add git commit hash (#554)

This commit is contained in:
Nguyen Kien Trung 2018-10-22 15:00:03 -04:00 committed by fixanoid
parent 0d0c507a59
commit 347f6fc356
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
**/.git
**/*_test.go
build/_workspace

View File

@ -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