occlum/demos/sofaboot
2023-05-19 09:54:13 +08:00
..
download_compile_sofaboot.sh [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +08:00
README.md [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +08:00
run_sofaboot_on_occlum_jdk8.sh [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +08:00
run_sofaboot_on_occlum.sh Clean up unnecessary default_mmap_size configuration in demos 2022-12-21 23:19:25 +08:00
sofaboot_jdk8.yaml [demos] Update sofaboot demo with glibc openjdk 8 2023-05-19 09:54:13 +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 glibc version
./run_sofaboot_on_occlum_jdk8.sh
  • Run with openjdk 11 musl-libc version
./run_sofaboot_on_occlum.sh
  1. Test the web services
curl http://localhost:8080/actuator/versions