summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJason Yavorska <jyavorska@protonmail.com>2020-05-10 22:30:00 +0200
committerSimon Steinbeiß <ochosi@xfce.org>2020-05-10 22:30:00 +0200
commit15e41e0115a39eabd1c47d7a69278df1f8688d02 (patch)
treee5d719bd52a72f06ca8896477c3274e931bff1cc /Dockerfile
parentc62f6bec27b7870aa3ee5b366a0bf1e74b72ce44 (diff)
downloadxfce4-dev-tools-15e41e0115a39eabd1c47d7a69278df1f8688d02.tar.gz
Integrate xfce-build container build/creation
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