Skip to content

Commit

Permalink
Update docker README
Browse files Browse the repository at this point in the history
  • Loading branch information
jkressel authored Jan 16, 2025
1 parent fb7f92f commit 9f4cab2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Here, a prebuilt server image for ubuntu will be run under QEMU.
1. Run `cd $ARM64`
2. Run QEMU with the script `run-qemu-arm64.sh` and login with the username `ubuntu` and password `ubuntu`
3. Install dependencies: `sudo apt-get update && sudo apt-get install build-essential libelf-dev ruby`
4. Clone MAMBO using the following command: `git clone --recurse-submodules https://github.com/beehive-lab/mambo.git`
4. Clone MAMBO using the following command: `git clone https://github.com/beehive-lab/mambo.git`
5. Set an environment variable for mambo `export MAMBO_ROOT=/home/ubuntu/mambo`
6. Change to the cloned directory: `cd $MAMBO_ROOT`
7. Build MAMBO: `make`
Expand All @@ -30,7 +30,7 @@ Here, a prebuilt server image for ubuntu will be run under QEMU.
### Running on an ARM-64 machine (eg. Apple Silicon)

1. Run `cd $ARM64`
2. Clone MAMBO using the following command: `git clone --recurse-submodules https://github.com/beehive-lab/mambo.git`
2. Clone MAMBO using the following command: `git clone https://github.com/beehive-lab/mambo.git`
3. Set an environment variable for mambo `export MAMBO_ROOT=$ARM64/mambo`
3. Change to the cloned directory: `cd $MAMBO_ROOT`
4. Build MAMBO: `make`
Expand All @@ -42,9 +42,8 @@ Here, a prebuilt server image for ubuntu will be run under QEMU.
1. Run `cd $RISCV`
2. Run QEMU with the script `run-qemu-riscv.sh` and login with the username `ubuntu` and password `ubuntu`
3. Install dependencies: `sudo apt-get update && sudo apt-get install build-essential libelf-dev ruby`
4. Clone MAMBO using the following command: `git clone --recurse-submodules https://github.com/beehive-lab/mambo.git`
4. Clone MAMBO using the following command: `git clone https://github.com/beehive-lab/mambo.git`
5. Set an environment variable for mambo `export MAMBO_ROOT=/home/ubuntu/mambo`
6. Change to the cloned directory: `cd $MAMBO_ROOT`
7. Run the following commands `cd pie && git checkout master && cd .. && git checkout riscv`
8. Change line 30 of the makefile to: `LIBS=-lelf -lpthread -lz -lzstd`
9. Build MAMBO: `make`
7. Change line 30 of the makefile to: `LIBS=-lelf -lpthread -lz -lzstd`
8. Build MAMBO: `make`

0 comments on commit 9f4cab2

Please sign in to comment.