Skip to content

Commit

Permalink
cp header files
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronVasquez committed Sep 28, 2018
1 parent 962df66 commit bdb46f1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ WORKDIR $GOPATH/src/github.com/oysterprotocol/brokernode
# Installs buffalo
RUN go get -u -v github.com/gobuffalo/buffalo/buffalo

# Installs go-ethereum, Hack for C lib
RUN go get -u -v github.com/ethereum/go-ethereum

# Install godep for dependency management.
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

Expand All @@ -53,4 +56,9 @@ COPY . .
# Installs dependencies with godep.
RUN dep ensure -vendor-only

# Hack for C lib
RUN cp -a \
"${GOPATH}/src/github.com/ethereum/go-ethereum/crypto/secp256k1/libsecp256k1" \
"vendor/github.com/ethereum/go-ethereum/crypto/secp256k1/"

RUN buffalo version
12 changes: 6 additions & 6 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[prune]
go-tests = true
# non-go = false
# unused-packages = false
non-go = true
unused-packages = true

# [[prune.project]]
# name = "github.com/ethereum/go-ethereum"
# non-go = false
# unused-packages = false
[[prune.project]]
name = "github.com/ethereum/go-ethereum"
non-go = false
unused-packages = false

[[constraint]]
name = "github.com/aws/aws-sdk-go"
Expand Down

0 comments on commit bdb46f1

Please sign in to comment.