From b7b6a31cb446b71c264a3705ff4c0f9835d805d8 Mon Sep 17 00:00:00 2001 From: Giuliano Mega Date: Fri, 18 Oct 2024 10:47:18 -0300 Subject: [PATCH] Minor fixes (#45) --- learn/build.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/learn/build.md b/learn/build.md index 01cbfdf..ca37864 100644 --- a/learn/build.md +++ b/learn/build.md @@ -225,7 +225,7 @@ make testAll ## Building Within Docker For the specific case of Linux distributions which ship with gcc 14 -and a downgrade to $3 is not possible/desirable, building within a Docker +and a downgrade to 13 is not possible/desirable, building within a Docker container and pulling the binaries out by copying or mounting remains an option; e.g.: @@ -233,8 +233,7 @@ option; e.g.: # Clone original repo. git clone https://github.com/codex-storage/nim-codex -# Build inside docker, with correct dependencies, using external repo. -# This should also keep modifications in the external repo (to be tested). +# Build inside docker docker build -t codexstorage/nim-codex:latest -f nim-codex/docker/codex.Dockerfile nim-codex # Extract executable @@ -243,4 +242,4 @@ docker cp codex-build:/usr/local/bin/codex ./codex docker cp codex-build:/usr/local/bin/cirdl ./cirdl ``` -and voilĂ , you should have the binaries available in the current folder. \ No newline at end of file +and voilĂ , you should have the binaries available in the current folder.