1
0

Compare commits

..

2 Commits

View File

@ -1,16 +1,15 @@
FROM alpine FROM alpine
MAINTAINER Benjamin Burkhardt <bluefox@privacynerd.de> LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
WORKDIR cmatrix WORKDIR cmatrix
RUN apk update RUN apk update && \
RUN apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static && \
RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git . git clone https://git.privacynerd.de/Mirrors/cmatrix.git . && \
RUN autoreconf -i # skip if using released tarball autoreconf -i && \
RUN mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts && \
RUN ./configure LDFLAGS="-static" # for static compilation ./configure LDFLAGS="-static" && \
RUN make make
CMD ["./cmatrix"] CMD ["./cmatrix"]