1 # docker build -t vis .
2 # docker run -it --name vis vis
3 # docker cp . vis:/tmp/vis
4 # ./configure CC='cc --static'
6 # docker cp vis:/tmp/vis/vis .
8 # docker cp vis:/tmp/vis/vis-single .
12 RUN apk update && apk add musl-dev fortify-headers gcc make libtermkey-dev ncurses-dev ncurses-static lua5.3-dev lua5.3-lpeg lua-lpeg-dev acl-dev libarchive-dev xz-dev xz bzip2-dev
13 RUN sed -i 's/Libs: /Libs: -L${INSTALL_CMOD} /' /usr/lib/pkgconfig/lua5.3.pc
14 RUN mv /usr/lib/lua/5.3/lpeg.a /usr/lib/lua/5.3/liblpeg.a
15 RUN sed -i 's/-ltermkey/-ltermkey -lunibilium/' /usr/lib/pkgconfig/termkey.pc