Cleaned up build_commands.md
This commit is contained in:
parent
d3c33fca66
commit
879491a7ec
@ -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.
|
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
|
```sh
|
||||||
hostname
|
#git
|
||||||
git
|
|
||||||
apk update
|
apk update
|
||||||
apk add git
|
apk add git
|
||||||
git clone https://git.privacynerd.de/Mirrors/cmatrix.git
|
git clone https://git.privacynerd.de/Mirrors/cmatrix.git
|
||||||
cd cmatrix/
|
cd cmatrix/
|
||||||
autoreconf -i # skip if using released tarball
|
#autoreconf -i # skip if using released tarball
|
||||||
apk add --no-cache autoconf
|
apk add --no-cache autoconf
|
||||||
autoreconf -i # skip if using released tarball
|
#autoreconf -i # skip if using released tarball
|
||||||
apk add --no-cache automake
|
apk add --no-cache automake
|
||||||
autoreconf -i # skip if using released tarball
|
autoreconf -i # skip if using released tarball
|
||||||
./configure
|
#./configure
|
||||||
autoreconf -i # skip if using released tarball
|
#autoreconf -i # skip if using released tarball
|
||||||
echo $?
|
#echo $?
|
||||||
./configure
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
./configure LDFLAGS="-static"
|
|
||||||
./configure LDFLAGS="-static" # for a static (quite standalone) binary
|
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
|
||||||
apk add alpine-sdk # base compilers
|
apk add alpine-sdk # base compilers
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
apk add ncurses
|
#apk add ncurses
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
apk add ncurses ncurses-dev
|
#apk add ncurses ncurses-dev
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
apk add ncurses ncurses-dev ncurses-static
|
#apk add ncurses ncurses-dev ncurses-static
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
apk add ncurses-dev ncurses-static
|
apk add ncurses-dev ncurses-static
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
#mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
||||||
mkdir /usr/lib/kbd/consolefonts -p
|
mkdir /usr/lib/kbd/consolefonts -p
|
||||||
mkdir /usr/share/consolefonts -p
|
mkdir /usr/share/consolefonts -p
|
||||||
./configure LDFLAGS="-static" # for static compilation
|
./configure LDFLAGS="-static" # for static compilation
|
||||||
make
|
make
|
||||||
./cmatrix
|
./cmatrix
|
||||||
./cmatrix -b
|
#./cmatrix -b
|
||||||
history
|
#history
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user