summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..67a5717
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,23 @@
+FROM ubuntu:focal
+
+ENV DEBIAN_FRONTEND noninteractive
+
+# Enable source repositories
+RUN sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
+
+# Set up dependencies
+RUN apt-get update
+RUN apt-get -y --no-install-recommends install libglib2.0-dev git libtool m4 automake intltool libx11-dev libgtk-3-dev libxfce4util-dev libxfce4ui-2-dev libwnck-3-dev libexo-2-dev \
+ && apt-get -y --no-install-recommends install automake-1.15 make \
+ && apt-get -y --no-install-recommends build-dep xfce4-panel thunar xfce4-settings xfce4-session xfdesktop4 xfwm4 xfce4-appfinder tumbler xfce4-terminal xfce4-clipman-plugin xfce4-screenshooter
+
+# Remove automake 1.16 to avoid `config.status: error: Something went wrong bootstrapping makefile fragments`.
+# If this is removed we should also remove the explicit install of automake-1.15 above.
+RUN apt-get remove -y automake
+
+# Replicate git repo
+COPY . /
+
+# Configure and build dev tools
+RUN ./autogen.sh
+RUN make install