Add Ncurses-6.3

This commit is contained in:
Xavier Del Campo Romero 2023-12-21 22:30:58 +01:00
parent f4aacbc854
commit e1c76293c3
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 24 additions and 0 deletions

24
Ncurses/6.3/Dockerfile Normal file
View File

@ -0,0 +1,24 @@
FROM alpine
RUN apk update && apk add \
make \
gcc \
musl-dev \
wget
RUN wget https://invisible-island.net/datafiles/release/ncurses.tar.gz
RUN tar -xf ncurses.tar.gz
WORKDIR /ncurses-6.3
ARG PREFIX=/opt/spm/ncurses-6.3
RUN ./configure \
--prefix=$PREFIX \
--without-ada \
--without-manpages \
--without-tests \
--without-cxx \
--without-cxx-binding \
--disable-root-access \
--disable-root-environ \
--enable-overwrite \
--enable-shared=no \
CFLAGS='-ffunction-sections -fdata-sections -Os'
RUN make -j$(nproc --all)
RUN make install