summaryrefslogtreecommitdiff
path: root/Ncurses/6.3/Dockerfile
blob: 1557aeb2d84502842eab6b06fffd254575510643 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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