From fe76895f94f983a93ed08e86857270da493e12fe Mon Sep 17 00:00:00 2001 From: procub3r Date: Sat, 30 Mar 2024 17:42:31 +0530 Subject: [PATCH 1/2] fix(library): Assign minimum memory to fix crash #110 A minimum memory of 256M works well for the `python:3.12` library application. Without this, the application crashes Signed-off-by: procub3r --- library/python/3.12/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/python/3.12/README.md b/library/python/3.12/README.md index dbf3d285..4320354d 100644 --- a/library/python/3.12/README.md +++ b/library/python/3.12/README.md @@ -5,7 +5,7 @@ This directory contains the definition for the `unikraft.org/python:3.12` image To run this image, [install Unikraft's companion command-line toolchain `kraft`](https://unikraft.org/docs/cli) and then you can run: ```console -kraft run -p 8080:8080 unikraft.org/python:3.12 +kraft run -p 8080:8080 -M 256M unikraft.org/python:3.12 ``` Query the server using: From 8cbe1d7d72dc71bddda84d9a9643bbe7fdc8b703 Mon Sep 17 00:00:00 2001 From: procub3r Date: Sat, 30 Mar 2024 18:00:30 +0530 Subject: [PATCH 2/2] fix(library): Use `-M` flag in python:3.10 documentation Fixes #110 Signed-off-by: procub3r --- library/python/3.10/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/python/3.10/README.md b/library/python/3.10/README.md index 2fbb2ca8..fd1c37cf 100644 --- a/library/python/3.10/README.md +++ b/library/python/3.10/README.md @@ -5,7 +5,7 @@ This directory contains the definition for the `unikraft.org/python:3.10` image. To run this image, [install Unikraft's companion command-line toolchain `kraft`](https://unikraft.org/docs/cli) and then you can run: ``` -kraft run unikraft.org/python:3.10 +kraft run -M 256M unikraft.org/python:3.10 ``` ## See also