aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
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