Compare commits
3 Commits
3b81501f01
...
4d94c725a2
Author | SHA1 | Date | |
---|---|---|---|
4d94c725a2 | |||
c26be90554 | |||
a4a332f91e |
@ -5,22 +5,21 @@ LABEL org.opencontainers.image.authors="bluefox@privacynerd.de"
|
||||
|
||||
WORKDIR /cmatrix
|
||||
|
||||
RUN apk update && \
|
||||
apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static && \
|
||||
RUN apk update --no-cache && \
|
||||
apk add --no-cache 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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user