Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: bash
services: docker
install:
- docker build -t moodle-db-oracle .
- docker build -t moodle-db-oracle-r2 .
script:
- docker run --name test0 -p 1521:1521 -d moodle-db-oracle
- docker run --name test0 -p 1521:1521 -d moodle-db-oracle-r2
- until docker logs test0 | grep -q 'Database opened.'; do echo 'Waiting for oracle to come up...' && sleep 15; done
# Extremely nasty command to get the oracle version..
# We have to work around the lack of piping/env variables..
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM wnameless/oracle-xe-11g-r2:latest
ENV ORACLE_ALLOW_REMOTE true
ENV ORACLE_DISABLE_ASYNCH_IO=true

ADD root /
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@ An Oracle XE instance configured for Moodle development based on [wnameless/dock
# Example usage

```bash
docker run --name db0 -p 1521:1521 moodlehq/moodle-db-oracle
docker run --name db0 -p 1521:1521 moodlehq/moodle-db-oracle-r2
```
# Bulding locally

Since this image can't be pulled from Docker repo at the moment
([MDLSITE-5669](https://tracker.moodle.org/browse/MDLSITE-5669)) one may need
to build it for local usage:
If there is any future problem with this public image (like it happened before, see [MDLSITE-5669](https://tracker.moodle.org/browse/MDLSITE-5669)), or if you want to build the image locally for any further improvement, you can use:

```bash
> git clone git@github.com:moodlehq/moodle-db-oracle.git
> docker build ./moodle-db-oracle --tag moodlehq/moodle-db-oracle
> docker build ./moodle-db-oracle --tag moodlehq/moodle-db-oracle-r2
```
This will create local image `moodlehq/moodle-db-oracle` which is then can be
This will create local image `moodlehq/moodle-db-oracle-r2` which is then can be
used in `docker run` command or by [moodle-docker](https://github.com/moodlehq/moodle-docker) testing tools.

# Features:
Expand All @@ -27,6 +25,7 @@ used in `docker run` command or by [moodle-docker](https://github.com/moodlehq/m

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

* [moodle-docker](https://github.com/moodlehq/moodle-docker) a docker-composer based set of tools to get Moodle development running with zero configuration
* [moodle-php-apache](https://github.com/moodlehq/moodle-php-apache) PHP and Apache configured for Moodle development
* [moodle-db-mssql](https://github.com/moodlehq/moodle-db-mssql) Microsoft SQL Server for Linux configured for Moodle development