49 lines
1.6 KiB
Docker
49 lines
1.6 KiB
Docker
FROM i386/debian
|
|
ADD extras /tmp/extras
|
|
RUN apt update && apt install -y build-essential git joe bison libncurses5 libncurses5-dev && \
|
|
git clone https://github.com/arnoldrobbins/trn && \
|
|
cd trn && \
|
|
cp /tmp/extras/* . && \
|
|
yes | ./Configure -dse \
|
|
-D phost=alfter.diespammersdie.us \
|
|
-D orgname='USS Voyager NCC-74656, Delta Quadrant' \
|
|
-D defeditor='/usr/bin/joe' \
|
|
-D active='remote' \
|
|
-D acttimes='remote' \
|
|
-D bin='/usr/bin' \
|
|
-D binexp='/usr/bin' \
|
|
-D cc='gcc' \
|
|
-D cpprun='gcc -E' \
|
|
-D cppstdin='gcc -E' \
|
|
-D d_genauth='define' \
|
|
-D d_local='undef' \
|
|
-D extrainews='' \
|
|
-D filexp='/usr/lib/trn/filexp' \
|
|
-D groupdesc='' \
|
|
-D hostbits='0' \
|
|
-D installbin='/usr/local/bin' \
|
|
-D installinews='/usr/local/bin' \
|
|
-D installprivlib='/usr/local/lib/trn' \
|
|
-D mimecap='' \
|
|
-D myactive='.falseactive' \
|
|
-D newslib='/tmp' \
|
|
-D newslibexp='/tmp' \
|
|
-D newsspool='none' \
|
|
-D overviewdir='remote' \
|
|
-D overviewfmt='none' \
|
|
-D prefix='/usr' \
|
|
-D prefixexp='/usr' \
|
|
-D privlib='/usr/local/lib/trn' \
|
|
-D privlibexp='/usr/local/lib/trn' \
|
|
-D servername='no default' \
|
|
-D subscriptions='' \
|
|
-D threaddir='remote' \
|
|
-D useinews='/usr/bin/inews' && \
|
|
patch -p0 <post-config.patch && \
|
|
make && make install && \
|
|
useradd -mc "Scott Alfter" scott && \
|
|
ln -sf /usr/share/zoneinfo/US/Pacific /etc/localtime && \
|
|
apt remove -y build-essential git bison libncurses5-dev && apt -y autoremove && rm -rf /var/lib/apt/lists/* /tmp/extras
|
|
WORKDIR /home/scott
|
|
ENTRYPOINT ["/usr/local/bin/trn"]
|