occlum/demos/sofaboot
Zheng, Qi 8cb08aac29 Update sofaboot demo with openjdk 8 option
Signed-off-by: Zheng, Qi <huaiqing.zq@antgroup.com>
2021-12-06 13:47:27 +08:00
..
download_compile_sofaboot.sh Update sofaboot demo with openjdk 8 option 2021-12-06 13:47:27 +08:00
README.md Update sofaboot demo with openjdk 8 option 2021-12-06 13:47:27 +08:00
run_sofaboot_on_occlum_jdk8.sh Update sofaboot demo with openjdk 8 option 2021-12-06 13:47:27 +08:00
run_sofaboot_on_occlum.sh Update sofaboot demos with copy_bom 2021-09-26 21:06:59 +08:00
sofaboot_jdk8.yaml Update sofaboot demo with openjdk 8 option 2021-12-06 13:47:27 +08:00
sofaboot.yaml Update sofaboot demos with copy_bom 2021-09-26 21:06:59 +08:00

A Simple SOFABoot usage demo

This project demonstrates how to execute an unmodified sofaboot projects with Occlum.

  1. Download and build sofaboot project
  • Use openjdk 8
./download_compile_sofaboot.sh jdk8
  • Use openjdk 11
./download_compile_sofaboot.sh
  1. Run sofaboot sample standard web on Occlum
  • Run with openjdk 8
./run_sofaboot_on_occlum_jdk8.sh
  • Run with openjdk 11
./run_sofaboot_on_occlum.sh
  1. Test the web services
curl http://localhost:8080/actuator/versions