mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
docker: add git history back to support commit date in version
This commit is contained in:
parent
780b414b48
commit
cc4d72061f
3 changed files with 2 additions and 6 deletions
|
|
@ -1,7 +1,3 @@
|
||||||
**/.git
|
|
||||||
.git
|
|
||||||
!.git/HEAD
|
|
||||||
!.git/refs/heads
|
|
||||||
**/*_test.go
|
**/*_test.go
|
||||||
|
|
||||||
build/_workspace
|
build/_workspace
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Build Geth in a stock Go builder container
|
# Build Geth in a stock Go builder container
|
||||||
FROM golang:1.12-alpine as builder
|
FROM golang:1.12-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
|
ADD . /go-ethereum
|
||||||
RUN cd /go-ethereum && make geth
|
RUN cd /go-ethereum && make geth
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Build Geth in a stock Go builder container
|
# Build Geth in a stock Go builder container
|
||||||
FROM golang:1.12-alpine as builder
|
FROM golang:1.12-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
|
ADD . /go-ethereum
|
||||||
RUN cd /go-ethereum && make all
|
RUN cd /go-ethereum && make all
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue