moodlehq / moodle-db-oracle

Oracle XE/FREE Server configured for Moodle development

Home Page:https://hub.docker.com/r/moodlehq/moodle-db-oracle-r2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

moodle-db-oracle: Oracle XE/Free for Moodle

Build Status

An Oracle XE/Free instance configured for Moodle development based on wnameless/docker-oracle-xe-11g (Oracle 11g), gvenzl/oci-oracle-xe (Oracle 21c) and gvenzl/oci-oracle-free (Oracle 23c).

Example usage

Note these images are not intended for production use, only for development and testing/ci.

docker run --name db0 -p 1521:1521 moodlehq/moodle-db-oracle-r2:TAG

Where :TAG can be:

  • :latest, :21 (or none) : Oracle 21c (XE or XEPDB1 databases) will be used.
  • :11 : Oracle 11g (XE database) will be used.
  • :23 : Oracle 23c (FREE or FREEPDB1 databases) will be used.

In all cases, the DB user (moodle) and password (m@0dl3ing) are fixed.

Building locally

If there is any future problem with this public image (like it happened before, see MDLSITE-5669), or if you want to build the image locally for any further improvement, you can use:

> git clone https://github.com/moodlehq/moodle-db-oracle.git
> git checkout [11g|21c|23c|main]
> cd moodle-db-oracle
> docker build . --tag moodlehq/moodle-db-oracle-r2:[11|21|23|latest]

This will create the local image moodlehq/moodle-db-oracle-r2 which then can be used in docker run commands or by moodle-docker testing tools.

Features:

  • Oracle CDB database setup and preconfigured with empty database (XE or FREE), user (moodle) and moodlelib package installed (ready for Moodle install).
  • Only 21c and up: Oracle PDB database setup and preconfigured with empty database (XEPDB1 or FREEPDB1), user (moodle) and moodlelib package installed (ready for Moodle install).
  • Backed by automated tests.

See also

This container is part of a set of containers for Moodle development, see also:

  • moodle-docker a docker-composer based set of tools to get Moodle development running with zero configuration
  • moodle-php-apache PHP and Apache configured for Moodle development
  • moodle-db-mssql Microsoft SQL Server for Linux configured for Moodle development

About

Oracle XE/FREE Server configured for Moodle development

https://hub.docker.com/r/moodlehq/moodle-db-oracle-r2


Languages

Language:Dockerfile 100.0%