From 053752f8947361ee59b55e8150f681c7fd65aa9a Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Mon, 9 Mar 2020 03:50:53 +0300 Subject: [PATCH] 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 --- .gitpod.dockerfile | 13 +++++++++++++ .gitpod.yml | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 .gitpod.dockerfile create mode 100644 .gitpod.yml 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