32 lines
1.3 KiB
Docker
32 lines
1.3 KiB
Docker
FROM bbsio/synchronet:latest
|
|
|
|
ARG DOSEMU_DEB_URL=http://launchpadlibrarian.net/363141379/dosemu_1.4.0.7+20130105+b028d3f-2build1_amd64.deb
|
|
ARG DOSEMU_DEB=dosemu_1.4.0.7+20130105+b028d3f-2build1_amd64.deb
|
|
|
|
USER root
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y libasound2 rsh-redone-client locales locales-all \
|
|
mtools dosfstools dos2unix ser2net socat sqlite3 libsqlite3-dev \
|
|
nsnake pacman4console greed moon-buggy nudoku \
|
|
|
|
RUN apt-get install -y libsdl1.2debian libsdl-image1.2 libsdl-ttf2.0-0 libgtk2.0-0 libopenal1 libsndfile1 libncursesw5
|
|
|
|
ENV USER=root LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
|
|
|
|
# HACK: Install dosemu from .deb URL and allow for initial failure of install before dependencies
|
|
RUN wget -nc $DOSEMU_DEB_URL \
|
|
&& /usr/bin/dpkg -i $DOSEMU_DEB \
|
|
|| /usr/bin/apt-get -f install -y \
|
|
&& /usr/bin/dpkg -i $DOSEMU_DEB \
|
|
&& rm $DOSEMU_DEB
|
|
RUN mkdir -p /media/CDROM
|
|
|
|
RUN wget 'https://gitlab.synchro.net/main/sbbs/-/raw/master/install/termcap?ref_type=heads'
|
|
RUN wget 'https://gitlab.synchro.net/main/sbbs/-/raw/master/install/terminfo?ref_type=heads'
|
|
RUN cat termcap?ref_type=heads >> /etc/termcap
|
|
RUN /usr/bin/tic terminfo?ref_type=heads
|
|
RUN rm termcap?ref_type=heads terminfo?ref_type=heads
|