problem: Docker latest tag is misleading
This commit is contained in:
@@ -138,7 +138,7 @@ export INFURA_USER=...
|
|||||||
.Run Dshackle
|
.Run Dshackle
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle
|
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:0.10
|
||||||
----
|
----
|
||||||
|
|
||||||
Now it listens on port 2449 at the localhost and can be connected from any gRPC compatible client.
|
Now it listens on port 2449 at the localhost and can be connected from any gRPC compatible client.
|
||||||
|
|||||||
@@ -190,9 +190,6 @@ jib {
|
|||||||
'snapshot'
|
'snapshot'
|
||||||
].join('')
|
].join('')
|
||||||
tags = [project.version].with (true) {
|
tags = [project.version].with (true) {
|
||||||
if (project.version.toString().endsWith(".0")) {
|
|
||||||
add "latest"
|
|
||||||
}
|
|
||||||
add "t"+ DateTimeFormatter.ofPattern("yyyyMMddHHmm").withZone(ZoneId.of('UTC')).format(Instant.now())
|
add "t"+ DateTimeFormatter.ofPattern("yyyyMMddHHmm").withZone(ZoneId.of('UTC')).format(Instant.now())
|
||||||
add project.version.toString().replaceAll('(\\d+\\.\\d+).+', '$1')
|
add project.version.toString().replaceAll('(\\d+\\.\\d+).+', '$1')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export INFURA_USER=...
|
|||||||
.Run Dshackle
|
.Run Dshackle
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle
|
docker run -p 2449:2449 -p 8545:8545 -v $(pwd):/etc/dshackle -e "INFURA_USER=$INFURA_USER" emeraldpay/dshackle:0.10
|
||||||
----
|
----
|
||||||
|
|
||||||
==== Access using JSON RPC
|
==== Access using JSON RPC
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Prepare configuration files `dshackle.yaml` and `upstreams.yaml` in the current
|
|||||||
|
|
||||||
[source,bash]
|
[source,bash]
|
||||||
----
|
----
|
||||||
docker run -p 2449:2449 -v $(pwd):/config -w /config emeraldpay/dshackle
|
docker run -p 2449:2449 -v $(pwd):/config -w /config emeraldpay/dshackle:0.10
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Install & Run manually
|
=== Install & Run manually
|
||||||
|
|||||||
Reference in New Issue
Block a user