summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-12-21 22:30:58 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-12-21 22:31:37 +0100
commite1c76293c3289a919f24edc1bd6956dbb8bc8ee0 (patch)
tree02e607cac30bbd9bbff3b7cc2a62bf8cd77438cd
parentf4aacbc854765d87d4313c9109d375a422eeea94 (diff)
Add Ncurses-6.3
-rw-r--r--Ncurses/6.3/Dockerfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Ncurses/6.3/Dockerfile b/Ncurses/6.3/Dockerfile
new file mode 100644
index 0000000..1557aeb
--- /dev/null
+++ b/Ncurses/6.3/Dockerfile
@@ -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