From 879491a7ec0223bc967f91234aea20e2e027b415 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 21 Sep 2024 14:47:08 +0000 Subject: [PATCH] Cleaned up build_commands.md --- build_commands.md | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/build_commands.md b/build_commands.md index 70ddb63..f2008b4 100644 --- a/build_commands.md +++ b/build_commands.md @@ -3,40 +3,36 @@ Commands I executed for testing the build of cmatrix in a alpine-based docker co The workflow: These can be copied to a plain Dockerfile (with only the alpine base and possibly author info already defined) and then cleaned to a single RUN command. ```sh -hostname -git +#git apk update apk add git git clone https://git.privacynerd.de/Mirrors/cmatrix.git cd cmatrix/ -autoreconf -i # skip if using released tarball +#autoreconf -i # skip if using released tarball apk add --no-cache autoconf -autoreconf -i # skip if using released tarball +#autoreconf -i # skip if using released tarball apk add --no-cache automake autoreconf -i # skip if using released tarball -./configure -autoreconf -i # skip if using released tarball -echo $? -./configure -./configure LDFLAGS="-static" -./configure LDFLAGS="-static" # for a static (quite standalone) binary -./configure LDFLAGS="-static" # for static compilation +#./configure +#autoreconf -i # skip if using released tarball +#echo $? +#./configure LDFLAGS="-static" # for static compilation apk add alpine-sdk # base compilers -./configure LDFLAGS="-static" # for static compilation -apk add ncurses -./configure LDFLAGS="-static" # for static compilation -apk add ncurses ncurses-dev -./configure LDFLAGS="-static" # for static compilation -apk add ncurses ncurses-dev ncurses-static -./configure LDFLAGS="-static" # for static compilation +#./configure LDFLAGS="-static" # for static compilation +#apk add ncurses +#./configure LDFLAGS="-static" # for static compilation +#apk add ncurses ncurses-dev +#./configure LDFLAGS="-static" # for static compilation +#apk add ncurses ncurses-dev ncurses-static +#./configure LDFLAGS="-static" # for static compilation apk add ncurses-dev ncurses-static -./configure LDFLAGS="-static" # for static compilation -mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts +#./configure LDFLAGS="-static" # for static compilation +#mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts mkdir /usr/lib/kbd/consolefonts -p mkdir /usr/share/consolefonts -p ./configure LDFLAGS="-static" # for static compilation make ./cmatrix -./cmatrix -b -history +#./cmatrix -b +#history ```