In order to help you develop Opencast while sill using Docker containers the opencast/build
image was created.
$ export HOSTIP=<IP address of the Docker host>
$ export OPENCAST_SRC=</path/to/my/opencast/code>
$ export OPENCAST_BUILD_USER_UID=$(id -u)
$ export OPENCAST_BUILD_USER_GID=$(id -g)
$ docker-compose -p opencast-build -f docker-compose/docker-compose.build.yml up -d
$ docker-compose -p opencast-build -f docker-compose/docker-compose.build.yml exec --user opencast-builder opencast bash
After attaching you can press enter to force the shell to output a prompt.
Starting with 2.2.2
there will be a build
image for every release of Opencast. It will know how to build this specific version within the container. While you can use git
to check out different versions of Opencast, we recommend that with it you then also change the version of the build
container.