17 lines
440 B
Docker
17 lines
440 B
Docker
FROM alpine
|
|
|
|
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de>
|
|
|
|
|
|
WORKDIR cmatrix
|
|
|
|
RUN apk update
|
|
RUN apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static
|
|
RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git .
|
|
RUN autoreconf -i # skip if using released tarball
|
|
RUN mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
|
RUN ./configure LDFLAGS="-static" # for static compilation
|
|
RUN make
|
|
|
|
CMD ["./cmatrix"]
|