FROM alpine MAINTAINER Benjamin Burkhardt 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"]