Skip to content
Docker Container to build CoreMedia Workspaces like CMCC-10, CMS-9, or LiveContext 3 based on on Platform Releases from 1701 to at least 1907
Roff Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example-usage
.gitignore
Dockerfile
Dockerfile.alpine-docker-jdk11-maven3.6
LICENSE
README.md
build.gradle
settings.gradle

README.md

CoreMedia Build Container

This repository contains the necessary parts to create a Docker container with the few required tools to build CoreMedia Plattform 17nm, 18nm, or 19nm as used in CoreMedia Content Cloud 10, CMS-9, and CoreMedia Live Context 3 workspaces.

The home of this repository is at github with an automated mirror at gitlab.

Feedback

Please use the issues section of this repository at github for feedback.

Build

Manual Build

To be able to support docker in docker creation of containers, we had to prepare a new base-container with Alpine Linux, JDK11, and Maven 3.6:

docker build -f Dockerfile.alpine-docker-jdk11-maven3.6 -t provocon/alpine-docker-jdk11-maven3.6:latest .
docker push provocon/alpine-docker-jdk11-maven3.6:latest

The further preparation of the container is accomplished using the usual

docker build -t <myname> .

So, for the current version this is

docker build -t provocon/coremedia-build:1907.1 .
docker build -t provocon/coremedia-build:1907 .
docker build -t provocon/coremedia-build:latest .
docker push provocon/coremedia-build:1907.1
docker push provocon/coremedia-build:1907
docker push provocon/coremedia-build:latest

Scripted Build

Alternatively you could use the Gradle Build Tool and issue

gradle -PbuildTag=1907.1  dockerPush
gradle -PbuildTag=1907    dockerPush
gradle -PbuildTag=latest dockerPush

which does all the steps above for you except building the base-container.

Test

Test the generated resulting container with

$ docker run --name docker --rm -it --entrypoint=docker provocon/coremedia-build version
Client: Docker Engine - Community
 Version:           19.03.4
 API version:       1.40
 Go version:        go1.12.10
 Git commit:        9013bf583a
 Built:             Fri Oct 18 15:49:05 2019
 OS/Arch:           linux/amd64
 Experimental:      false
$ docker run --name mvn --rm -it --entrypoint=mvn provocon/coremedia-build -v
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T19:00:29Z)
Maven home: /usr/share/maven
Java version: 11, vendor: Oracle Corporation, runtime: /opt/java/openjdk
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-166-generic", arch: "amd64", family: "unix"
$ docker run --name sencha --rm -it --entrypoint=sencha provocon/coremedia-build which
Sencha Cmd v6.7.0.63
/usr/local/sencha/6.7.0.63/

To call the container image use

docker run -it provocon/coremedia-build

Availability

This container can be used via the canonical name provocon/coremedia-build.

Goals

This container is intended for use in container based CI system like the GitLab CI. An example starting point is included with this repository.

See example directory with a usage example and mind the essential parameters when building CoreMedia Content Cloud with Maven:

mvn install -Dwebdriver.chrome.driver=/usr/bin/chromedriver -Dwebdriver.chrome.verboseLogging=true -DjooUnitWebDriverBrowserArguments=--no-sandbox,--disable-dev-shm-usage
You can’t perform that action at this time.