From 19ff0b5a1734a7d3ae8bf48945485e0aa0250bab Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 21 Sep 2024 16:58:56 +0200 Subject: [PATCH] Cleaned up Dockerfile and combined some RUN instructions --- Dockerfile | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/Dockerfile b/Dockerfile index aebf596..7828722 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,36 +5,12 @@ MAINTAINER Benjamin Burkhardt WORKDIR cmatrix -#git RUN apk update -RUN apk add git +RUN apk add git autoconf automake alpine-sdk ncurses-dev ncurses-static RUN git clone https://git.privacynerd.de/Mirrors/cmatrix.git . -#RUN cd cmatrix/ -#autoreconf -i # skip if using released tarball -RUN apk add --no-cache autoconf -#autoreconf -i # skip if using released tarball -RUN apk add --no-cache automake RUN autoreconf -i # skip if using released tarball -#./configure -#autoreconf -i # skip if using released tarball -#echo $? -#./configure LDFLAGS="-static" # for static compilation -RUN apk add alpine-sdk # base compilers -#./configure LDFLAGS="-static" # for static compilation -#apk add ncurses -#./configure LDFLAGS="-static" # for static compilation -#apk add ncurses ncurses-dev -#./configure LDFLAGS="-static" # for static compilation -#apk add ncurses ncurses-dev ncurses-static -#./configure LDFLAGS="-static" # for static compilation -RUN apk add ncurses-dev ncurses-static -#./configure LDFLAGS="-static" # for static compilation -#mkdir /usr/lib/kbd/consolefonts /usr/share/consolefonts -RUN mkdir /usr/lib/kbd/consolefonts -p -RUN mkdir /usr/share/consolefonts -p +RUN mkdir -p /usr/lib/kbd/consolefonts /usr/share/consolefonts RUN ./configure LDFLAGS="-static" # for static compilation RUN make CMD ["./cmatrix"] -#./cmatrix -b -#history