mirror of
https://github.com/rkd77/elinks.git
synced 2025-04-18 00:47:36 -04:00
[docker] build file for js version
This commit is contained in:
parent
6adcaadd62
commit
6708d1d843
@ -9,6 +9,7 @@ FROM alpine:edge
|
|||||||
|
|
||||||
# prepare system
|
# prepare system
|
||||||
RUN apk update && apk add git meson gcc g++ cmake pkgconfig
|
RUN apk update && apk add git meson gcc g++ cmake pkgconfig
|
||||||
|
RUN cd /etc/apk && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> repositories
|
||||||
|
|
||||||
# install
|
# install
|
||||||
# [*] install libraries
|
# [*] install libraries
|
||||||
@ -29,6 +30,7 @@ RUN cd /root && apk add \
|
|||||||
ncurses-static \
|
ncurses-static \
|
||||||
openssl1.1-compat-dev \
|
openssl1.1-compat-dev \
|
||||||
openssl1.1-compat-libs-static \
|
openssl1.1-compat-libs-static \
|
||||||
|
quickjs-dev \
|
||||||
sqlite-dev \
|
sqlite-dev \
|
||||||
sqlite-static \
|
sqlite-static \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
@ -37,6 +39,17 @@ RUN cd /root && apk add \
|
|||||||
xz-dev \
|
xz-dev \
|
||||||
xz-static
|
xz-static
|
||||||
|
|
||||||
|
# [*] libxml++5
|
||||||
|
RUN cd /root && apk add mm-common libtool autoconf automake make xz
|
||||||
|
|
||||||
|
# libxml++5 cd
|
||||||
|
RUN mkdir /root/tmp; cd /root/tmp; \
|
||||||
|
wget https://github.com/libxmlplusplus/libxmlplusplus/releases/download/5.0.2/libxml++-5.0.2.tar.xz; \
|
||||||
|
tar -xf libxml++-5.0.2.tar.xz;
|
||||||
|
ADD build_xmlplusplus.sh /root/tmp/libxml++-5.0.2/build_xmlplusplus.sh
|
||||||
|
RUN cd /root/tmp/libxml++-5.0.2; \
|
||||||
|
./build_xmlplusplus.sh
|
||||||
|
|
||||||
## [*] elinks sources
|
## [*] elinks sources
|
||||||
# get elinks source
|
# get elinks source
|
||||||
RUN cd /root; git clone https://github.com/rkd77/elinks
|
RUN cd /root; git clone https://github.com/rkd77/elinks
|
||||||
@ -46,3 +59,7 @@ RUN cd /root; git clone https://github.com/rkd77/elinks
|
|||||||
ADD mes_static.sh /root/elinks/mes_static.sh
|
ADD mes_static.sh /root/elinks/mes_static.sh
|
||||||
RUN cd /root/elinks; \
|
RUN cd /root/elinks; \
|
||||||
./mes_static.sh;
|
./mes_static.sh;
|
||||||
|
|
||||||
|
ADD mes_static_js.sh /root/elinks/mes_static_js.sh
|
||||||
|
RUN cd /root/elinks; \
|
||||||
|
./mes_static_js.sh;
|
||||||
|
12
docker/alpine-static/build_xmlplusplus.sh
Executable file
12
docker/alpine-static/build_xmlplusplus.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
||||||
|
./configure \
|
||||||
|
--enable-static=yes \
|
||||||
|
--enable-shared=no \
|
||||||
|
--disable-documentation
|
||||||
|
|
||||||
|
make -j12
|
||||||
|
|
||||||
|
make install
|
54
docker/alpine-static/mes_static_js.sh
Executable file
54
docker/alpine-static/mes_static_js.sh
Executable file
@ -0,0 +1,54 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
rm -rf /tmp/builddir_js
|
||||||
|
|
||||||
|
meson /tmp/builddir_js \
|
||||||
|
-D88-colors=true \
|
||||||
|
-D256-colors=true \
|
||||||
|
-Dbacktrace=false \
|
||||||
|
-Dbittorrent=true \
|
||||||
|
-Dbrotli=true \
|
||||||
|
-Dbzlib=true \
|
||||||
|
-Dcgi=true \
|
||||||
|
-Dcss=true \
|
||||||
|
-Dcombining=false \
|
||||||
|
-Ddgi=true \
|
||||||
|
-Dexmode=true \
|
||||||
|
-Dfastmem=true \
|
||||||
|
-Dfsp=false \
|
||||||
|
-Dgemini=true \
|
||||||
|
-Dgettext=false \
|
||||||
|
-Dgnutls=false \
|
||||||
|
-Dgopher=true \
|
||||||
|
-Dgpm=false \
|
||||||
|
-Dguile=false \
|
||||||
|
-Didn=true \
|
||||||
|
-Dipv6=true \
|
||||||
|
-Dlibev=false \
|
||||||
|
-Dlibevent=true \
|
||||||
|
-Dluapkg='luajit' \
|
||||||
|
-Dlzma=true \
|
||||||
|
-Dmailcap=true \
|
||||||
|
-Dmouse=true \
|
||||||
|
-Dnls=true \
|
||||||
|
-Dnntp=true \
|
||||||
|
-Dopenssl=true \
|
||||||
|
-Dperl=false \
|
||||||
|
-Dpython=false \
|
||||||
|
-Dquickjs=true \
|
||||||
|
-Druby=false \
|
||||||
|
-Dsm-scripting=false \
|
||||||
|
-Dspidermonkey=false \
|
||||||
|
-Dstatic=true \
|
||||||
|
-Dterminfo=false \
|
||||||
|
-Dtest=false \
|
||||||
|
-Dtre=false \
|
||||||
|
-Dtrue-color=true \
|
||||||
|
-Dutf-8=true \
|
||||||
|
-Dwithdebug=false \
|
||||||
|
-Dx=false \
|
||||||
|
-Dxbel=true \
|
||||||
|
-Dzlib=true \
|
||||||
|
-Dzstd=true
|
||||||
|
|
||||||
|
meson compile -C /tmp/builddir_js
|
Loading…
x
Reference in New Issue
Block a user