2024-09-21 14:36:49 +00:00
|
|
|
FROM alpine
|
|
|
|
|
|
|
|
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de>
|
|
|
|
|
2024-09-21 14:55:19 +00:00
|
|
|
|
|
|
|
WORKDIR cmatrix
|
|
|
|
|
2024-09-21 14:50:00 +00:00
|
|
|
RUN apk update
|
2024-09-21 14:58:56 +00:00
|
|
|
RUN apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static
|
2024-09-21 14:55:19 +00:00
|
|
|
RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git .
|
2024-09-21 14:50:00 +00:00
|
|
|
RUN autoreconf -i # skip if using released tarball
|
2024-09-21 14:58:56 +00:00
|
|
|
RUN mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts
|
2024-09-21 14:50:00 +00:00
|
|
|
RUN ./configure LDFLAGS="-static" # for static compilation
|
|
|
|
RUN make
|
2024-09-21 14:36:49 +00:00
|
|
|
|
2024-09-21 14:50:00 +00:00
|
|
|
CMD ["./cmatrix"]
|