Put the build commands into Dockerfile (NOT BUILDING SUCCESSFULLY)
This commit is contained in:
parent
879491a7ec
commit
4106d02919
32
Dockerfile
32
Dockerfile
@ -2,4 +2,36 @@ FROM alpine
|
||||
|
||||
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de>
|
||||
|
||||
#git
|
||||
RUN apk update
|
||||
RUN apk add 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
|
||||
#./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 make
|
||||
|
||||
CMD ["./cmatrix"]
|
||||
#./cmatrix -b
|
||||
#history
|
||||
|
Loading…
Reference in New Issue
Block a user