33 lines
713 B
Markdown
33 lines
713 B
Markdown
# nit
|
|
|
|
25% smaller than init
|
|
|
|
## Testing with AWS on Amazon Linux
|
|
|
|
Ensure the instance is set up with Nitro Enclaves, and run the following
|
|
command to install and enable nitro enclave support:
|
|
|
|
```sh
|
|
# You can leave off `git` if you've already installed it to clone the repo.
|
|
sudo dnf install aws-nitro-enclaves-cli make git
|
|
sudo systemctl enable --now nitro-enclaves-allocator.service
|
|
sudo systemctl enable --now docker.service
|
|
# Add the current user to the Docker group
|
|
sudo usermod -aG docker $USER
|
|
```
|
|
|
|
You may need to reconnect to change the signed-in users. Use `groups` to see if
|
|
you are in the `docker` group.
|
|
|
|
Then, the EIF can be built using:
|
|
|
|
```sh
|
|
make
|
|
```
|
|
|
|
And tested using:
|
|
|
|
```sh
|
|
sudo make run
|
|
```
|