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@collabora.com>
This commit is contained in:
Muhammet Kara 2020-03-09 03:50:53 +03:00
parent 7c300296dd
commit 053752f894
2 changed files with 15 additions and 0 deletions

13
.gitpod.dockerfile Normal file
View file

@ -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/*

2
.gitpod.yml Normal file
View file

@ -0,0 +1,2 @@
image:
file: .gitpod.dockerfile