1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # At some point maybe add variables to control size of screen.
- FROM debian:buster
- COPY waterfox*.tar.bz2 jre-*.bin /root/
- RUN sed -i '/ buster main/s/ main/ main contrib non-free/' /etc/apt/sources.list
- RUN apt-get --yes update && apt-get --yes install --no-install-recommends \
- browser-plugin-freshplayer-pepperflash \
- bzip2 \
- fonts-droid-fallback \
- fonts-noto \
- icewm \
- libasound2 \
- libdbus-glib-1-2 \
- libgtk-3-0 \
- pepperflashplugin-nonfree \
- ratpoison \
- tightvncserver \
- xfonts-base \
- x11-xserver-utils \
- xterm \
- zile
- RUN set -x; \
- tar -C /usr/local -xf /root/waterfox*.tar.bz2 && \
- rm -f /root/waterfox*.tar.bz2 && \
- ln -s /usr/local/waterfox/waterfox /usr/local/bin
- RUN set -x; \
- mkdir -p /usr/local/java && \
- cd /usr/local/java && \
- /bin/sh /root/jre-*.bin && \
- echo >>/etc/profile export JRE_HOME=`echo /usr/local/java/jre*` && \
- echo >>/etc/profile export 'PATH="$PATH:$JRE_HOME/bin"' && \
- update-alternatives --install /usr/bin/java java /usr/local/java/jre*/bin/java 1 && \
- update-alternatives --set java /usr/local/java/jre*/bin/java && \
- update-alternatives --install /usr/bin/javaws javaws /usr/local/java/jre*/bin/javaws 1 && \
- update-alternatives --set javaws /usr/local/java/jre*/bin/javaws && \
- rm -f /root/jre-*.bin
- COPY startup.sh handlers.json /root/
- COPY icewm.menu /root/.icewm/menu
- COPY ratpoisonrc /root/.ratpoisonrc
- CMD ["/root/startup.sh"]
- WORKDIR /root
- EXPOSE 5900
|