Roman Khimov
|
2dfeb55d4c
|
docker: add an entrypoint wrapper and 6K block dump to import
Make privnet the default for docker setups along the way and use alpine as the
base image because we now need to have sh and gzip. Fix #524.
|
2019-11-29 16:26:34 +03:00 |
|
Evgeniy Kulikov
|
f640dbb331
|
DockerCompose: update environment
- rewrite Dockerfile
- four nodes, custom network, volume
- p2p, rpc and metrics port forwarded
- make: env_vendor, env_image, env_up, env_down and env_restart
- cleanup Makefile commands
- remove old docker-compose file
fix #497
|
2019-11-18 17:17:21 +03:00 |
|
Vsevolod Brekelov
|
223084925a
|
Fix for node run in docker introduced in a3890910f2
|
2019-08-30 11:21:39 +03:00 |
|
Roman Khimov
|
ed6075e4ba
|
Dockerfile: use gomod to fix build failures
---> Running in 0e7bb4ca4583
+ export 'GOGC=off'
+ export 'GO111MODULE=on'
+ export 'CGO_ENABLED=0'
+ export 'LDFLAGS=-X /config.Version=0.5.0-pre-40-gb8ad012'
+ go build -v '-mod=vendor' -ldflags '-X /config.Version=0.5.0-pre-40-gb8ad012' -o /go/bin/neo-go ./cli/main.go
build command-line-arguments: cannot load github.com/go-redis/redis: open /neo-go/vendor/github.com/go-redis/redis: no such file or directory
The command '/bin/sh -c set -x && export GOGC=off && export GO111MODULE=on && export CGO_ENABLED=0 && export LDFLAGS="-X ${REPO}/config.Version=${VERSION}" && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli/main.go' returned a non-zero code: 1
make: *** [Makefile:19: image] Error 1
Exited with code 2
|
2019-08-29 16:13:32 +03:00 |
|
Roman Khimov
|
b8ad0125b6
|
Dockerfile: add GO111MODULE export
Maybe fixes this one:
---> Running in 3b964b007f22
+ export 'GOGC=off'
+ export 'CGO_ENABLED=0'
+ export 'LDFLAGS=-X /config.Version=0.5.0-pre-39-ga168f09'
+ go build -v '-mod=vendor' -ldflags '-X /config.Version=0.5.0-pre-39-ga168f09' -o /go/bin/neo-go ./cli/main.go
build command-line-arguments: cannot load github.com/go-redis/redis: open /neo-go/vendor/github.com/go-redis/redis: no such file or directory
The command '/bin/sh -c set -x && export GOGC=off && export CGO_ENABLED=0 && export LDFLAGS="-X ${REPO}/config.Version=${VERSION}" && go build -v -mod=vendor -ldflags "${LDFLAGS}" -o /go/bin/neo-go ./cli/main.go' returned a non-zero code: 1
make: *** [Makefile:19: image] Error 1
|
2019-08-29 16:10:28 +03:00 |
|
Roman Khimov
|
a3890910f2
|
Dockerfile: use neo-go for binary name
Be consistent with Makefile (see 3dfb1189f2 ).
|
2019-08-29 16:07:33 +03:00 |
|
Roman Khimov
|
6647317680
|
config: drop BuildTime support, make builds reproducible
Nobody cares, really. But we care about build being reproducible, one source
tree corresponds to one binary with one checksum.
|
2019-08-28 22:09:36 +03:00 |
|
Evgeniy Kulikov
|
9a79c00417
|
Fix build node and docker-image
- Make Dockerfile useful and minimal
- Update Makefile commands build / image
- Docker should not ignore vendor (go build -mod=vendor)
|
2019-08-26 19:32:09 +03:00 |
|
Steven Jack
|
68ca254dd2
|
Adds basic docker-compose support for standing up a cluster (#74)
* Adds docker-compose support
* Remove old config
* Bump port numbers so doesnt conflict with running dev version
* Update privnet node list
|
2018-04-28 20:20:27 +02:00 |
|
Steven Jack
|
7883f305e7
|
Docker setup (#70)
* Adds docker setup
* Add build args
* Remove spaec
* Bump version
* Adds run prefix
|
2018-04-16 10:41:23 +02:00 |
|