1 # Run 'make docker' to build a statically linked vis executable!
3 RUN apk update && apk add --upgrade --no-cache \
21 RUN sed -i 's/Libs: /Libs: -L${INSTALL_CMOD} /' /usr/lib/pkgconfig/lua5.3.pc
22 RUN mv /usr/lib/lua/5.3/lpeg.a /usr/lib/lua/5.3/liblpeg.a
23 RUN sed -i 's/-ltermkey/-ltermkey -lunibilium/' /usr/lib/pkgconfig/termkey.pc
24 # TODO contribute a proper libuntar package to Alpine
27 RUN wget https://github.com/martanne/libuntar/tarball/7c7247b442b021588f6deba78b60ef3b05ab1e0c -O libuntar.tar.gz && \
28 tar xf libuntar.tar.gz && cd *-libuntar-* && \
30 mkdir -p /usr/local/include && \
31 cp lib/libuntar.h /usr/local/include && \
32 cp lib/libuntar.a /usr/local/lib && \
33 rm -rf /build/*libuntar*