Compare commits
No commits in common. "19ff0b5a1734a7d3ae8bf48945485e0aa0250bab" and "cf1c16f890c17df09a9a2521110067c5e77f8e64" have entirely different histories.
19ff0b5a17
...
cf1c16f890
33
Dockerfile
33
Dockerfile
@ -2,15 +2,36 @@ FROM alpine
|
|||||||
|
|
||||||
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de>
|
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de>
|
||||||
|
|
||||||
|
#git
|
||||||
WORKDIR cmatrix
|
|
||||||
|
|
||||||
RUN apk update
|
RUN apk update
|
||||||
RUN apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static
|
RUN apk add git
|
||||||
RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git .
|
RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git
|
||||||
|
RUN cd cmatrix/
|
||||||
|
#autoreconf -i # skip if using released tarball
|
||||||
|
RUN apk add --no-cache autoconf
|
||||||
|
#autoreconf -i # skip if using released tarball
|
||||||
|
RUN apk add --no-cache automake
|
||||||
RUN autoreconf -i # skip if using released tarball
|
RUN autoreconf -i # skip if using released tarball
|
||||||
RUN mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
#./configure
|
||||||
|
#autoreconf -i # skip if using released tarball
|
||||||
|
#echo $?
|
||||||
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
|
RUN 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
|
||||||
|
RUN apk add ncurses-dev ncurses-static
|
||||||
|
#./configure LDFLAGS="-static" # for static compilation
|
||||||
|
#mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
||||||
|
RUN mkdir /usr/lib/kbd/consolefonts -p
|
||||||
|
RUN mkdir /usr/share/consolefonts -p
|
||||||
RUN ./configure LDFLAGS="-static" # for static compilation
|
RUN ./configure LDFLAGS="-static" # for static compilation
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
CMD ["./cmatrix"]
|
CMD ["./cmatrix"]
|
||||||
|
#./cmatrix -b
|
||||||
|
#history
|
||||||
|
Loading…
x
Reference in New Issue
Block a user