aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-09-16 05:38:18 +0000
committerRob Austein <sra@hactrn.net>2019-09-16 05:38:18 +0000
commit08b13cc74dde895fe4402a7d04c2180809bc87c7 (patch)
tree45a395f3299d41c606718b773f238106960b8f3f /Dockerfile
parentb7434629d7955957eb393b55516ab8de59133e76 (diff)
Horrible kludge to preconfigure jnlp application
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index b8e7f75..b885efe 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,6 +2,8 @@
FROM ubuntu:bionic
+COPY waterfox*.tar.bz2 jre-*.tar.gz /root/
+
RUN apt-get --yes update && apt-get --yes install --no-install-recommends \
bzip2 \
fonts-droid-fallback \
@@ -16,10 +18,6 @@ RUN apt-get --yes update && apt-get --yes install --no-install-recommends \
x11-xserver-utils \
xterm
-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 /root/waterfox*.tar.bz2 && \
@@ -34,6 +32,10 @@ RUN set -x; \
update-alternatives --set javaws /usr/local/java/jre*/bin/javaws && \
ln -s /usr/local/waterfox/waterfox /usr/local/bin
+COPY startup.sh handlers.json /root/
+COPY icewm.menu /root/.icewm/menu
+COPY ratpoisonrc /root/.ratpoisonrc
+
CMD ["/root/startup.sh"]
WORKDIR /root