diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -6,7 +6,6 @@ RUN apt-get --yes update && apt-get --yes install --no-install-recommends \ bzip2 \ fonts-droid-fallback \ fonts-noto \ - icedtea-8-plugin \ libdbus-glib-1-2 \ libgtk-3-0 \ ratpoison \ @@ -15,14 +14,18 @@ RUN apt-get --yes update && apt-get --yes install --no-install-recommends \ x11-xserver-utils \ xterm -COPY startup.sh ratpoisonrc waterfox*.tar.bz2 / +COPY startup.sh ratpoisonrc waterfox*.tar.bz2 jre-*.tar.gz / RUN set -x; \ tar -C /usr/local -xf /waterfox*.tar.bz2 && \ - rm -f /waterfox*.tar.bz2 && \ - ln -s /usr/local/waterfox/waterfox /usr/local/bin - -COPY menu /root/.icewm/ + rm -f /waterfox*.tar.bz2 && \ + ln -s /usr/local/waterfox/waterfox /usr/local/bin && \ + mkdir -p /usr/local/java && \ + tar -C /usr/local/java -xf /jre-*.tar.gz && \ + echo >>/etc/profile JRE_HOME=`echo /usr/local/java/jre*` && \ + echo >>/etc/profile 'PATH="$PATH:$JRE_HOME/bin"' && \ + update-alternatives --install /usr/bin/java java /usr/local/java/jre*/bin/java 1 && \ + update-alternatives --set java /usr/bin/java java /usr/local/java/jre*/bin/java CMD ["/startup.sh"] |