libreoffice-online/.gitpod.dockerfile
Muhammet Kara 4885a074af GitPodify COOL - Initial support
Web based, containrized, ready-to-use dev environment & IDE.
https://gitpod.io

Open in GitPod: https://gitpod.io/#https://github.com/CollaboraOnline/online
* You will have the environment, but you might need to
  run the build commands yourselves

Force to prebuild: https://gitpod.io/#prebuild/https://github.com/CollaboraOnline/online
* This should come at the point make command stage is completed

We will also enable auto-prebuilds on each push,
and add a button to get a prebuilt/ready env

TODO:
* Open port(s) to be able to connect to COOL while running
* Add missing VSCode extensions if any
* Enable prebuilds for push events
* Add button on README

Change-Id: I726a7fb0693cd39109c88b86b3d6941e0210c249
2020-10-08 00:30:29 +03:00

15 lines
906 B
Docker

FROM gitpod/workspace-full
RUN sudo sh -c "echo deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted >> /etc/apt/sources.list" \
&& sudo sh -c "echo deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted >> /etc/apt/sources.list" \
&& sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ focal-security main restricted >> /etc/apt/sources.list" \
&& sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ focal-security universe >> /etc/apt/sources.list" \
&& sudo sh -c "echo deb-src http://security.ubuntu.com/ubuntu/ focal-security multiverse >> /etc/apt/sources.list" \
&& sudo apt-get update \
&& sudo apt-get install -y \
build-essential git libpoco-dev libcap-dev python3-polib npm libpng-dev python3-lxml libpam-dev \
&& sudo apt-get build-dep -y libreoffice \
&& pip install lxml \
&& pip install polib \
&& sudo rm -rf /var/lib/apt/lists/*