Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
ba7d2092
Unverified
Commit
ba7d2092
authored
Dec 12, 2023
by
Matt Solomon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: change to bash to allow echo -n
parent
6031fc41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile.l1
ops-bedrock/Dockerfile.l1
+1
-1
entrypoint-l1.sh
ops-bedrock/entrypoint-l1.sh
+3
-3
No files found.
ops-bedrock/Dockerfile.l1
View file @
ba7d2092
...
@@ -6,4 +6,4 @@ COPY entrypoint-l1.sh /entrypoint.sh
...
@@ -6,4 +6,4 @@ COPY entrypoint-l1.sh /entrypoint.sh
VOLUME ["/db"]
VOLUME ["/db"]
ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]
ENTRYPOINT ["/bin/
ba
sh", "/entrypoint.sh"]
ops-bedrock/entrypoint-l1.sh
View file @
ba7d2092
#!/bin/sh
#!/bin/
ba
sh
set
-exu
set
-exu
VERBOSITY
=
${
GETH_VERBOSITY
:-
3
}
VERBOSITY
=
${
GETH_VERBOSITY
:-
3
}
...
@@ -14,8 +14,8 @@ WS_PORT="${WS_PORT:-8546}"
...
@@ -14,8 +14,8 @@ WS_PORT="${WS_PORT:-8546}"
if
[
!
-d
"
$GETH_KEYSTORE_DIR
"
]
;
then
if
[
!
-d
"
$GETH_KEYSTORE_DIR
"
]
;
then
echo
"
$GETH_KEYSTORE_DIR
missing, running account import"
echo
"
$GETH_KEYSTORE_DIR
missing, running account import"
printf
"%s"
"pwd"
>
"
$GETH_DATA_DIR
"
/password
echo
-n
"%s"
"pwd"
>
"
$GETH_DATA_DIR
"
/password
printf
"%s"
"
$BLOCK_SIGNER_PRIVATE_KEY
"
|
sed
's/0x//'
>
"
$GETH_DATA_DIR
"
/block-signer-key
echo
-n
"%s"
"
$BLOCK_SIGNER_PRIVATE_KEY
"
|
sed
's/0x//'
>
"
$GETH_DATA_DIR
"
/block-signer-key
geth account import
\
geth account import
\
--datadir
=
"
$GETH_DATA_DIR
"
\
--datadir
=
"
$GETH_DATA_DIR
"
\
--password
=
"
$GETH_DATA_DIR
"
/password
\
--password
=
"
$GETH_DATA_DIR
"
/password
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment