Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
ADD ${STAKER_SCRIPTS_URL}/dvt_lsd_tools.sh /etc/profile.d/

RUN apt-get update && \
apt-get install -y curl && \
apt-get install -y curl jq && \
apt-get clean && \
chmod +rx /etc/profile.d/dvt_lsd_tools.sh /usr/local/bin/entrypoint.sh

Expand Down
3 changes: 3 additions & 0 deletions operator/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ if [ "${SETUP_MODE}" = "Import Operator" ]; then
echo "[DEBUG] encrypted_private_key.json doesn't exist, restarting"
exit 1
fi

# Extract the public key from the imported encrypted_private_key.json
jq -r '.pubKey' "$KEY_FILE_PATH" > "$PUBLIC_KEY_FILE_PATH"
fi

# If New Operator, generate a new public-private key pair during the first time setup
Expand Down
Loading