OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92830bf
)
Fix dockefile command failed (#198)
author
Guanghua Guo
<1536310027@qq.com>
Thu, 14 Dec 2017 09:47:25 +0000
(17:47 +0800)
committer
GitHub
<noreply@github.com>
Thu, 14 Dec 2017 09:47:25 +0000
(17:47 +0800)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index
a384d00
..
59016f8
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-4,7
+4,7
@@
FROM golang:1.9-alpine as builder
RUN apk add --no-cache make git
ADD . /go/src/github.com/bytom
-RUN cd /go/src/github.com/bytom && make
install && cd ./cmd/bytomd && go build && cd ../bytomcli && go build
+RUN cd /go/src/github.com/bytom && make
bytomd && make bytomcli
# Pull Bytom into a second stage deploy alpine container
FROM alpine:latest