vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 6cfd587090da5e38119c246bb9ae926e325d164d parent 8a7827d1e48904fb06ea3e76b18554775760e414 Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 30 May 2017 20:28:28 +0200 build: add Dockerfile for static builds from Alpine Signed-off-by: Christian Hesse <mail@eworm.de> Diffstat:
| A | Dockerfile | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,14 @@ +# docker build -t vis . +# docker run -it --name vis vis +# docker cp . vis:/tmp/vis +# ./configure CC='cc --static' +# make +# docker cp vis:/tmp/vis/vis . +FROM alpine:edge +ENV DIR /tmp/vis +WORKDIR $DIR +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 +RUN sed -i 's/Libs: /Libs: -L${INSTALL_CMOD} /' /usr/lib/pkgconfig/lua5.3.pc +RUN mv /usr/lib/lua/5.3/lpeg.a /usr/lib/lua/5.3/liblpeg.a +RUN sed -i 's/-ltermkey/-ltermkey -lunibilium/' /usr/lib/pkgconfig/termkey.pc +CMD ["/bin/sh"]