Difference between revisions of "Documentation/Building Guide AOO/Step by step with a Docker Container"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Building your Docker image: Dockerfile URL from SVN repository)
(Fixed commands)
 
Line 19: Line 19:
 
Create a build folder on your host, and put the file into that folder. We assume here that the folder is /workspace/docker
 
Create a build folder on your host, and put the file into that folder. We assume here that the folder is /workspace/docker
 
  $ cd /workspace/docker
 
  $ cd /workspace/docker
  $ wget https://svn.apache.org/repos/asf/openoffice/devtools/build-scripts/4.2.0/containers/linux/Dockerfile .
+
  $ wget https://svn.apache.org/repos/asf/openoffice/devtools/build-scripts/4.2.0/containers/linux/Dockerfile
  $ docker build -t aoo_centos
+
  $ docker build -t aoo_centos .
  
 
= Building Apache OpenOffice (R) =
 
= Building Apache OpenOffice (R) =

Latest revision as of 20:57, 15 January 2022


This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code on Docker Containers. A more thorough explanation of what the individual steps do and why they are necessary can be found in the building guide.

This page focuses on docker container. The goal is to provide a simple to create Build environment to build the Linux Version of Apache OpenOffice (R).

Prerequisite to this guide

You need to have a normal docker installation on your system and a git instance installed.

Building your Docker image

You need the Dockerfile for building the docker image.

Create a build folder on your host, and put the file into that folder. We assume here that the folder is /workspace/docker

$ cd /workspace/docker
$ wget https://svn.apache.org/repos/asf/openoffice/devtools/build-scripts/4.2.0/containers/linux/Dockerfile
$ docker build -t aoo_centos .

Building Apache OpenOffice (R)

Getting the Code

$ mkdir /workspace/AOO
$ cd /workspace/AOO
$ git clone https://gitbox.apache.org/repos/asf/openoffice.git .

Starting the image and adding the source code

$ docker run -ti -v /workspace/AOO:/workspace/AOO aoo_centos

Configure

See the buildscript at https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/


Personal tools