VS Code container definition for Oracle DB development with Oradew.
- VS Code Extension: Remote - Containers
git clone https://github.com/mickeypearce/oradew-vscode-container.gitor manually copy the.devcontainerdirectory into your project.- Start VS Code and open your project folder.
- Press F1 and select
Remote-Containers: Reopen Folder in Containercommand. - Press F1 and select
Oradew: Initialize Workspace/Versioncommand to start Oradew project.
Container consists of Oracle Linux image (oraclelinux:7.7) with preinstalled:
- oracle-instantclient19.3
- oracle-instantclient19.3-sqlplus
- nodejs-v10.17.0
- git-2.22.0
- Oradew extension and
oradewCLI - GitLens extension
- Bookmarks extension
Container mounts local path "%ORACLE_HOME%/network/admin" or "%TNS_ADMIN%" to configuration directory inside container (tnsnames.ora, ...). If you don't have ORACLE_HOME or TNS_ADMIN defined on your local system, replace "source" with a full path or remove "mounts" altogether in devcontainer.json.
"mounts": [
"source=${localEnv:ORACLE_HOME}/network/admin,target=/usr/lib/oracle/19.3/client64/lib/network/admin,type=bind,consistency=cached"
]