Skip to content

Commit

Permalink
Further switch the Oracle container image to use the slim variants
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne authored and DavideD committed Apr 11, 2023
1 parent 4e4056d commit 0af4ebc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class OracleDatabase implements TestableDatabase {
}

public static final OracleContainer oracle = new OracleContainer(
imageName( "gvenzl/oracle-free", "23.2.0-faststart" )
imageName( "gvenzl/oracle-free", "23-slim-faststart" )
.asCompatibleSubstituteFor( "gvenzl/oracle-xe" ) )
.withUsername( DatabaseConfiguration.USERNAME )
.withPassword( DatabaseConfiguration.PASSWORD )
Expand Down
10 changes: 5 additions & 5 deletions podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ podman exec -it HibernateTestingMSSQL /opt/mssql-tools/bin/sqlcmd -S localhost -

[sqlcmd-cli]:https://docs.microsoft.com/en-us/sql/tools/sqlcmd-utility?view=sql-server-ver15

## Oracle
## Oracle Database

Use the following command to start a [Oracle XE][oracle] database with the required credentials
and schema to run the tests:
Use the following command to start an [Oracle Database 23c Free—Developer Release][oracle] with the required
credentials and schema to run the tests:

[oracle]:https://www.oracle.com/database/technologies/appdev/xe.html
[oracle]:https://www.oracle.com/database/free/

```
podman run --rm --name HibernateTestingOracle -e ORACLE_PASSWORD=hreact -e APP_USER=hreact -e APP_USER_PASSWORD=hreact -e ORACLE_DATABASE=hreact -p 1521:1521 docker.io/gvenzl/oracle-free:23.2.0-faststart
podman run --rm --name HibernateTestingOracle -e ORACLE_PASSWORD=hreact -e APP_USER=hreact -e APP_USER_PASSWORD=hreact -e ORACLE_DATABASE=hreact -p 1521:1521 docker.io/gvenzl/oracle-free:23-slim-faststart
```

0 comments on commit 0af4ebc

Please sign in to comment.