[Libreoffice-commits] core.git: .gitpod.dockerfile .gitpod.yml

Muhammet Kara (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 9 12:01:03 UTC 2020


 .gitpod.dockerfile |   13 +++++++++++++
 .gitpod.yml        |    2 ++
 2 files changed, 15 insertions(+)

New commits:
commit 053752f8947361ee59b55e8150f681c7fd65aa9a
Author:     Muhammet Kara <muhammet.kara at collabora.com>
AuthorDate: Mon Mar 9 03:50:53 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Mar 9 13:00:32 2020 +0100

    Initial commit for Gitpodifying LibreOffice core
    
    After this commit, it will be possible to automatically
    create a Gitpod instance from the core repo, simply
    by giving its address.
    
    The instance will have all the build dependencies
    and the latest core repo cloned. It is suggested to limit
    the thread number by 4 by using the autogen.input file.
    Otherwise, your compiler processes might get killed during
    the build.
    
    'Gitpod launches ready-to-code dev environments
    for your GitHub or GitLab project with a single click.'
    
    Change-Id: I7a0e07be6b36063f0527cb03ef032df3412afc7c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90197
    Tested-by: Jenkins
    Reviewed-by: Muhammet Kara <muhammet.kara at collabora.com>

diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile
new file mode 100644
index 000000000000..e0a9d97efe1d
--- /dev/null
+++ b/.gitpod.dockerfile
@@ -0,0 +1,13 @@
+FROM gitpod/workspace-full
+
+RUN sudo sh -c "echo deb-src http://archive.ubuntu.com/ubuntu/ disco main restricted >> /etc/apt/sources.list" \
+ && sudo sh -c "echo deb-src http://archive.ubuntu.com/ubuntu/ disco-updates main restricted >> /etc/apt/sources.list" \
+ && sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ disco-security main restricted >> /etc/apt/sources.list" \
+ && sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ disco-security universe >> /etc/apt/sources.list" \
+ && sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ disco-security multiverse >> /etc/apt/sources.list" \
+ && sudo apt-get update \
+ && sudo apt-get install -y \
+    build-essential git libkrb5-dev graphviz nasm \
+ && sudo apt-get build-dep -y libreoffice \
+ && sudo rm -rf /var/lib/apt/lists/*
+
diff --git a/.gitpod.yml b/.gitpod.yml
new file mode 100644
index 000000000000..3cce5cbf7661
--- /dev/null
+++ b/.gitpod.yml
@@ -0,0 +1,2 @@
+image:
+  file: .gitpod.dockerfile


More information about the Libreoffice-commits mailing list