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

From Apache OpenOffice Wiki
Jump to: navigation, search
(first draft for building from Docker)
 
m (Minor reformatting)
Line 10: Line 10:
  
 
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).
 
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 =
 
= Prerequisite to this guide =
you need to have a normal docker installation on your system and a git instance installed.
+
You need to have a normal docker installation on your system and a git instance installed.
 +
 
 
= Building your Docker image =
 
= Building your Docker image =
you need the Dockerfile for building the 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
 
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 dockerfile@address TBD .
+
$ wget dockerfile@address TBD .
#docker build
+
$ docker build
= building Apache OpenOffice (R) =
+
 
 +
= Building Apache OpenOffice (R) =
 
== Getting the Code ==
 
== Getting the Code ==
mkdir /workspace/AOO
+
$ mkdir /workspace/AOO
cd /workspace/AOO
+
$ cd /workspace/AOO
git clone https://gitbox.apache.org/repos/asf/openoffice.git .
+
$ git clone https://gitbox.apache.org/repos/asf/openoffice.git .
== starting the image and adding the sourcecode ==
+
 
docker run -ti -v /workspace/AOO:/workspace/AOO aoo_centos
+
== Starting the image and adding the source code ==
== configure ==
+
$ docker run -ti -v /workspace/AOO:/workspace/AOO aoo_centos
 +
 
 +
== Configure ==
 
See the buildscript at https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/
 
See the buildscript at https://svn.apache.org/viewvc/openoffice/devtools/build-scripts/
 +
 
<!--
 
<!--
 
== bootstrap ==
 
== bootstrap ==

Revision as of 10:03, 7 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 dockerfile@address TBD .
$ docker build

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