|
@@ -6,6 +6,7 @@ RUN apt-get --yes update && apt-get --yes install --no-install-recommends \
|
|
|
bzip2 \
|
|
|
fonts-droid-fallback \
|
|
|
fonts-noto \
|
|
|
+ icewm \
|
|
|
libasound2 \
|
|
|
libdbus-glib-1-2 \
|
|
|
libgtk-3-0 \
|
|
@@ -15,14 +16,16 @@ RUN apt-get --yes update && apt-get --yes install --no-install-recommends \
|
|
|
x11-xserver-utils \
|
|
|
xterm
|
|
|
|
|
|
-COPY startup.sh ratpoisonrc waterfox*.tar.bz2 jre-*.tar.gz /
|
|
|
+COPY startup.sh waterfox*.tar.bz2 jre-*.tar.gz /root/
|
|
|
+COPY icewm.menu /root/.icewm/menu
|
|
|
+COPY ratpoisonrc /root/.ratpoisonrc
|
|
|
|
|
|
RUN set -x; \
|
|
|
mkdir -p /usr/local/java && \
|
|
|
- tar -C /usr/local -xf /waterfox*.tar.bz2 && \
|
|
|
- rm -f /waterfox*.tar.bz2 && \
|
|
|
- tar -C /usr/local/java -xf /jre-*.tar.gz && \
|
|
|
- rm -f /jre-*.tar.gz && \
|
|
|
+ tar -C /usr/local -xf /root/waterfox*.tar.bz2 && \
|
|
|
+ rm -f /root/waterfox*.tar.bz2 && \
|
|
|
+ tar -C /usr/local/java -xf /root/jre-*.tar.gz && \
|
|
|
+ rm -f /root/jre-*.tar.gz && \
|
|
|
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 && \
|
|
@@ -31,6 +34,7 @@ RUN set -x; \
|
|
|
update-alternatives --set javaws /usr/local/java/jre*/bin/javaws && \
|
|
|
ln -s /usr/local/waterfox/waterfox /usr/local/bin
|
|
|
|
|
|
-CMD ["/startup.sh"]
|
|
|
+CMD ["/root/startup.sh"]
|
|
|
+WORKDIR /root
|
|
|
|
|
|
EXPOSE 5900
|