Skip to content

Commit

Permalink
Merge pull request #26 from erickearns/master
Browse files Browse the repository at this point in the history
Update build script
  • Loading branch information
Eric Kearns authored Aug 7, 2018
2 parents ac489ee + 4514774 commit 9a1cc34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions resources/linuxbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ RUN curl -sL https://deb.nodesource.com/setup_8.x -o nodesource_setup.sh
RUN chmod 755 nodesource_setup.sh
RUN bash nodesource_setup.sh
RUN apt-get install -y nodejs
RUN apt-get install -y protobuf-compiler libprotobuf-dev
RUN go get -u github.com/golang/protobuf/protoc-gen-go
RUN mkdir -p /go/src/github.com/singnet
WORKDIR /go/src/github.com/singnet
RUN git clone https://github.com/singnet/snet-daemon.git
Expand Down
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ PARENT_PATH=$(dirname $(cd $(dirname $0); pwd -P))

pushd $PARENT_PATH
mkdir -p build
GOOS=$1 GOARCH=$2 go build -o build/snetd-$1-$2 snetd/snetd.go
GOOS=$1 GOARCH=$2 go build -o build/snetd-$1-$2 snetd/main.go
popd

0 comments on commit 9a1cc34

Please sign in to comment.