2015-07-15 03:07:26 +00:00
|
|
|
FROM debian:testing
|
2015-07-12 03:45:54 +00:00
|
|
|
|
|
|
|
MAINTAINER Christopher A. Mosher <cmosher01@gmail.com>
|
|
|
|
|
2015-07-15 03:07:26 +00:00
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2015-07-12 03:45:54 +00:00
|
|
|
RUN apt-get update && \
|
2015-07-30 22:28:36 +00:00
|
|
|
apt-get upgrade -y && \
|
2015-07-12 03:45:54 +00:00
|
|
|
apt-get install --no-install-recommends -y \
|
2015-07-15 03:07:26 +00:00
|
|
|
asciidoc \
|
2015-07-12 03:45:54 +00:00
|
|
|
automake \
|
|
|
|
build-essential \
|
|
|
|
libsdl2-dev \
|
2018-12-28 16:29:00 +00:00
|
|
|
# nginx \
|
2015-07-15 03:07:26 +00:00
|
|
|
source-highlight \
|
2015-07-12 03:45:54 +00:00
|
|
|
supervisor \
|
2015-07-15 03:43:52 +00:00
|
|
|
xa65 \
|
2015-07-12 03:45:54 +00:00
|
|
|
xvfb \
|
|
|
|
x11vnc \
|
|
|
|
&& \
|
|
|
|
apt-get clean
|
|
|
|
|
2015-07-15 03:07:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-12 03:45:54 +00:00
|
|
|
WORKDIR /root/
|
|
|
|
|
2015-07-15 03:07:26 +00:00
|
|
|
|
|
|
|
|
2015-07-16 04:12:41 +00:00
|
|
|
COPY config.site /usr/local/share/
|
|
|
|
|
2015-07-29 04:09:42 +00:00
|
|
|
COPY bootstrap configure.ac Makefile.am ./
|
2015-07-12 03:45:54 +00:00
|
|
|
|
2015-07-29 04:09:42 +00:00
|
|
|
COPY NEWS README AUTHORS ChangeLog COPYING* ./
|
2015-07-12 03:45:54 +00:00
|
|
|
|
2018-12-28 20:22:22 +00:00
|
|
|
ADD https://mosher.mine.nu/monitor.a65 ./
|
|
|
|
ADD https://mosher.mine.nu/applesoft.a65 ./
|
|
|
|
ADD https://mosher.mine.nu/disk2.a65 ./
|
|
|
|
ADD https://mosher.mine.nu/choplifter.woz ./
|
|
|
|
COPY setup.conf ./
|
|
|
|
|
2015-07-12 03:45:54 +00:00
|
|
|
COPY src/ ./src/
|
|
|
|
COPY conf/ ./conf/
|
2015-07-15 03:43:52 +00:00
|
|
|
COPY rom/ ./rom/
|
2015-07-12 03:45:54 +00:00
|
|
|
COPY installer/ ./installer/
|
|
|
|
COPY doc/ ./doc/
|
|
|
|
|
2015-07-15 03:07:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
ENV BUILD_LOG /var/log/build.log
|
|
|
|
|
|
|
|
RUN ./bootstrap 2>&1 | tee -a $BUILD_LOG
|
|
|
|
RUN ./configure 2>&1 | tee -a $BUILD_LOG
|
2018-12-28 16:29:00 +00:00
|
|
|
RUN make clean 2>&1 | tee -a $BUILD_LOG
|
2015-07-15 03:07:26 +00:00
|
|
|
RUN make 2>&1 | tee -a $BUILD_LOG
|
2018-12-28 16:29:00 +00:00
|
|
|
#RUN make check 2>&1 | tee -a $BUILD_LOG
|
|
|
|
#RUN make dist 2>&1 | tee -a $BUILD_LOG
|
|
|
|
#RUN make distcheck 2>&1 | tee -a $BUILD_LOG
|
2015-07-15 03:07:26 +00:00
|
|
|
RUN make install 2>&1 | tee -a $BUILD_LOG
|
2018-12-28 16:29:00 +00:00
|
|
|
#RUN make html 2>&1 | tee -a $BUILD_LOG
|
|
|
|
#RUN make install-html 2>&1 | tee -a $BUILD_LOG
|
|
|
|
#RUN make installcheck 2>&1 | tee -a $BUILD_LOG
|
2015-07-15 03:07:26 +00:00
|
|
|
|
2018-12-28 16:29:00 +00:00
|
|
|
#RUN mkdir /usr/local/share/doc/epple2/download && \
|
|
|
|
# cd /usr/local/share/doc/epple2/download && \
|
|
|
|
# ln -s ~/epple2-*.tar.gz
|
2015-07-15 03:07:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-28 16:29:00 +00:00
|
|
|
#COPY nginx.conf /etc/nginx/
|
|
|
|
#COPY default.nginx /etc/nginx/sites-available/default
|
|
|
|
#RUN ln -s /usr/local/share/doc/epple2 /usr/share/nginx/html/epple2
|
2015-07-12 03:45:54 +00:00
|
|
|
|
|
|
|
# supervisor
|
2015-07-16 01:12:52 +00:00
|
|
|
RUN rm -R /etc/supervisor/*
|
|
|
|
ENTRYPOINT ["supervisord"]
|
|
|
|
CMD ["-c", "both"]
|
|
|
|
COPY supervisor/includes /etc/supervisor/
|
|
|
|
COPY supervisor/commands ./
|
2015-07-12 03:45:54 +00:00
|
|
|
|
|
|
|
ENV DISPLAY :0
|
|
|
|
ENV SDL_VIDEODRIVER x11
|
|
|
|
|
2018-12-28 20:22:22 +00:00
|
|
|
# EXPOSE 80 5900
|
|
|
|
EXPOSE 5900
|