problem: Docker latest tag is misleading

This commit is contained in:
Igor Artamonov
2021-09-07 22:11:51 -04:00
parent f443b7a297
commit 199259afdb
4 changed files with 3 additions and 6 deletions

View File

@@ -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.

View File

@@ -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')
} }

View File

@@ -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

View File

@@ -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