forked from copernet/copernicus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (25 loc) · 766 Bytes
/
Dockerfile
File metadata and controls
33 lines (25 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM copernet/copernicus:basic
WORKDIR /
RUN git clone https://github.com/copernet/secp256k1.git
WORKDIR /secp256k1
RUN ./autoinstall.sh
RUN echo "/usr/local/lib" > /etc/ld.so.conf.d/secp256k1.conf && ldconfig
RUN curl https://glide.sh/get | sh
RUN go get golang.org/x/tools/cmd/cover
RUN go get github.com/mattn/goveralls
WORKDIR /go/src/github.com/copernet
COPY ./ /go/src/github.com/copernet/copernicus
WORKDIR /go/src/github.com/copernet/copernicus
RUN glide install
RUN go get -u github.com/alecthomas/gometalinter
RUN gometalinter --install
RUN go build
RUN go install
WORKDIR /
RUN git clone https://github.com/copernet/walle.git
RUN cp $GOPATH/bin/copernicus /walle
WORKDIR /walle
RUN mkdir .venv
RUN pipenv --python 3.7
RUN pipenv install
WORKDIR /