forked from OpenBazaar/openbazaar-go
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit 'v0.13.5-rc1' into development
* commit 'd33fcef7e9ce91430281de15278f13b23b4f3066': (99 commits) Bump version to v0.13.5 [OpenBazaar#1069] Improve edge cases and tests for POST /ob/resendordermessage Move Migration024 to 025 for merge from master Update latest fixes from multiwallet dep Fix imports; Add offline timeout to ORDER_PAYMENT sending Update multiwallet dependency pull in the upstream changes to vendor repos Update unit tests and fix nits Remove usage of core.Node global and fix nits [OpenBazaar#1069] Analyze/send ORDER messages on ORDER_PROCESSING_ERROR [OpenBazaar#1069] GGenerate OrderProcessingFailure message on local node Add error handling; Cleanup ErrEmptyPayload usage; Extra failure logging Update dev Docker to guarantee v1.2.0 protoc-gen-go remove return if extract address from pkscript fails for creation of txOut change the txn callback height to 0 Fix bug initializing resyncManager Set resync interval to 15 minutes Refactor rescan manager and add migration024 fix indentation and modify the offline scan conditional add txnOutputs to wallet interface txn and modify the GetTransaction function to populate the txnOutputs for use in the order payment message handler ...
- Loading branch information
Showing
140 changed files
with
11,501 additions
and
3,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
# Build stage - Use a full build environment to create a static binary | ||
FROM golang:1.11 | ||
WORKDIR /go/src/github.com/OpenBazaar/openbazaar-go | ||
COPY . . | ||
RUN go build --ldflags '-extldflags "-static"' -o /opt/openbazaard . | ||
COPY . /go/src/github.com/OpenBazaar/openbazaar-go | ||
RUN go build --ldflags '-extldflags "-static"' -o /opt/openbazaard /go/src/github.com/OpenBazaar/openbazaar-go | ||
|
||
# Final state - Create image containing nothing but the openbazaard binary and | ||
# some base settings | ||
FROM openbazaar/base:v1.0.0 | ||
|
||
# Document ports in use | ||
# 4002 - HTTP(s) API | ||
# 4001 - libp2p/IPFS TCP port | ||
# 9005 - libp2p/IPFS websocket port | ||
EXPOSE 5001 5002 10005 | ||
ENTRYPOINT ["/opt/openbazaard"] | ||
|
||
# Define a volume to perist data to. This data contains all the important | ||
# elements defining a peer so it must be durable as long as the identity exists | ||
VOLUME /var/lib/openbazaar | ||
|
||
# Tell the image what to execute by default. We start a mainnet OB server | ||
# that uses the defined volume for node data | ||
ENTRYPOINT ["/opt/openbazaard"] | ||
CMD ["start", "-d", "/var/lib/openbazaar"] | ||
|
||
# Copy the compiled binary into this image. It's COPY'd last since the rest of | ||
# this stage rarely changes while the binary changes every commit | ||
COPY --from=0 /opt/openbazaard /opt/openbazaard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.