diff options
| author | Christian Hesse <mail@eworm.de> | 2017-05-30 23:23:19 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-05-31 15:37:25 +0200 |
| commit | 7d88cb3c1392393c2910f2f96c93549bb5482f9f (patch) | |
| tree | 55cd50da43661732c3d94cdafcc801ae8e4b4349 /Dockerfile | |
| parent | 6a7802cd15d6921951cd4940229f038e631d7473 (diff) | |
| download | vis-7d88cb3c1392393c2910f2f96c93549bb5482f9f.tar.gz vis-7d88cb3c1392393c2910f2f96c93549bb5482f9f.tar.xz | |
build: allow to build self-contained executable
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,10 +4,12 @@ # ./configure CC='cc --static' # make # docker cp vis:/tmp/vis/vis . +# make vis-single +# docker cp vis:/tmp/vis/vis-single . 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 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 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 |
