1
0

Compare commits

..

No commits in common. "4d94c725a243c40b97f99364d72187b346309e23" and "3b81501f01801be8c095325fb6f5f7a36a7dfd3b" have entirely different histories.

View File

@ -5,21 +5,22 @@ LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
WORKDIR /cmatrix
RUN apk update --no-cache && \
apk add --no-cache git autoconf automake alpine-sdk ncurses-dev ncurses-static && \
RUN apk update && \
apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static && \
git clone https://git.privacynerd.de/Mirrors/cmatrix.git . && \
autoreconf -i && \
mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts && \
./configure LDFLAGS="-static" && \
make
CMD ["./cmatrix"]
# final cmatrix Container Image
FROM alpine
LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
RUN apk update --no-cache && apk add --no-cache ncurses-terminfo-base
COPY --from=cmatrixbuildimage /cmatrix/cmatrix /cmatrix
CMD ["./cmatrix"]
CMD [".cmatrix"]