# Welcome to the HACKER CHALLENGE ## Building and packaging the challenge The host can be without SGX support. To build and package the challenge you will need the docker environment. Do the following steps to build the challenge: ```bash # Notice that there is no SGX device mounted, run inside rewrite directory docker run --rm --name packager -it -v .:/root/rewrite occlum/occlum:latest-ubuntu20.04 # Inside the docker container run package.sh and follow its instructions cd /root/rewrite && ./scripts/package.sh --prep exit # Feel free to exit the container ``` ## Testing the challenge To test the challenge you will need the SGX support. ## Contributing to the challenge Don't forget to run `cargo clippy` and `cargo fmt` before submitting a PR.