Skip to content

Instantly share code, notes, and snippets.

@mguilherme
Created July 15, 2018 22:54
Show Gist options
  • Save mguilherme/0eb98b4ecf9930cdb6bff4a47cc59d11 to your computer and use it in GitHub Desktop.
Save mguilherme/0eb98b4ecf9930cdb6bff4a47cc59d11 to your computer and use it in GitHub Desktop.
Oracle XE with Docker
git clone [email protected]:oracle/docker-images.git
./buildDockerImage.sh -v 11.2.0.2 -x
docker run -d --name oracle -p 1521:1521 -p 5500:5500 -e ORACLE_PWD=mypassword --shm-size="2g" -v /opt/oracle/oradata:/opt/oracle/oradata oracle/database:11.2.0.2-xe
mvn install:install-file -Dfile=ojdbc8.jar -DgroupId=com.oracle.jdbc -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment