feat: use already-built image in Dockerfile of l1-node-genesis-generator (#669)

* feat: use already-built image in Dockerfile of l1-node-genesis-generator

* feat: get genesis time automatically in generate-genesis.sh and make L1_GENESIS_TIME optional

* feat: make sed in-place command portable with both OS in generate-genesis.sh
This commit is contained in:
jonesho
2025-02-14 03:12:59 +08:00
committed by GitHub
parent 4c01e012ef
commit c7f6e5943e
5 changed files with 36 additions and 33 deletions

View File

@@ -168,7 +168,6 @@ dockerCompose {
// without cleaning the volumes
noRecreate = true
projectName = "docker"
environment.put("L1_GENESIS_TIME", "${Instant.now().plusSeconds(3).getEpochSecond()}")
}
localStackPostgresDbOnly {
@@ -213,7 +212,6 @@ dockerCompose {
// without cleaning the volumes
noRecreate = true
projectName = "docker"
environment.put("L1_GENESIS_TIME", "${Instant.now().plusSeconds(3).getEpochSecond()}")
}
}