running clippy fix separating homepage to a file adding summary of network security removing the rewrite structure removing catch unwind adding sealing to persistence redirectng to the upstream fixing some startup endgecases Co-authored-by: Jakub Doka <jakub.doka2@gmail.com> Reviewed-on: SGX/hacker-challenge-sgx#2
14 lines
302 B
Bash
Executable File
14 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script is the entrypoint of the challenge container
|
|
|
|
tar -xzf challenge.tar.gz && cd challenge
|
|
|
|
if [ -z "${INIT_NODES}" ]; then
|
|
echo "The INIT_NODES environment variable is not set."
|
|
else
|
|
echo $INIT_NODES | tr ' ' '\n' > detee_challenge_nodes
|
|
fi
|
|
|
|
occlum run /bin/hacker-challenge
|