1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
elinks/docker/alpine-static/Dockerfile

72 lines
1.4 KiB
Docker
Raw Normal View History

2022-12-01 10:58:47 -05:00
#
2022-12-01 14:35:48 -05:00
# elinks docker development environment
2022-12-01 10:58:47 -05:00
#
# [*] base system
# get latest alpine
FROM alpine:edge
# prepare system
RUN apk update && apk add git meson gcc g++ cmake pkgconfig
2022-12-01 12:03:29 -05:00
RUN cd /etc/apk && echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> repositories
2022-12-01 10:58:47 -05:00
# install
# [*] install libraries
2022-12-07 13:26:18 -05:00
RUN apk add \
2022-12-01 10:58:47 -05:00
brotli-dev \
brotli-static \
bzip2-dev \
bzip2-static \
expat-dev \
expat-static \
libevent-dev \
libevent-static \
libidn2-dev \
libidn2-static \
2022-12-01 10:58:47 -05:00
libxml2-dev \
2022-12-03 09:38:26 -05:00
libxml2-static \
2022-12-01 10:58:47 -05:00
linux-headers \
luajit-dev \
ncurses-dev \
ncurses-static \
openssl1.1-compat-dev \
openssl1.1-compat-libs-static \
2022-12-01 12:03:29 -05:00
quickjs-dev \
2022-12-01 10:58:47 -05:00
sqlite-dev \
sqlite-static \
2022-12-01 14:35:48 -05:00
tre-dev \
tre-static \
libunistring-dev \
libunistring-static \
2022-12-01 10:58:47 -05:00
zlib-dev \
zlib-static \
zstd-dev \
xz-dev \
xz-static
2022-12-01 12:03:29 -05:00
# [*] libxml++5
2022-12-07 13:26:18 -05:00
RUN apk add mm-common libtool upx xz
2022-12-01 12:03:29 -05:00
# 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
2022-12-01 10:58:47 -05:00
## [*] elinks sources
# get elinks source
RUN cd /root; git clone https://github.com/rkd77/elinks
## [*] Compilation
#
ADD mes_static.sh /root/elinks/mes_static.sh
RUN cd /root/elinks; \
./mes_static.sh;
2022-12-01 12:03:29 -05:00
ADD mes_static_js.sh /root/elinks/mes_static_js.sh
RUN cd /root/elinks; \
./mes_static_js.sh;