Docker images used to create containers ready with Node.js, Oracle Client and PM2
1.2K
Docker images containing Node.js, Oracle Instant Client (12.2) and PM2 — intended as a base image for Node apps that need Oracle connectivity.
oracle/linux/ for users who already have access.| Tag | Node.js | PM2 | Oracle Client |
|---|---|---|---|
| latest | 22.0.0 | 5.4.2 | 12.2.0 |
| 22 | 22.0.0 | 5.4.2 | 12.2.0 |
| 16 | 16.20.2 | 5.3.0 | 12.2.0 |
| 14 | 14.18.1 | 5.1.2 | 12.2.0 |
If you need a different version, fork this repo and modify the Dockerfile to build your desired versions.
FROM thesuhu/docker-node-oracle-pm2:{TAG}
# replace {TAG} with one of the tags above, e.g. latest
a) Use the ZIP files included locally in the oracle/linux/ folder (if you keep them in the repository):
# From repo root
docker build -t my-node-oracle-app .
b) Or bind/mount the ZIP files during build (recommended for CI):
# Example using BuildKit and build-args to point to host paths for the instantclient zips
DOCKER_BUILDKIT=1 docker build --build-arg INSTANTCLIENT_BASIC=/host/path/instantclient-basic-linux.x64-12.2.0.1.0.zip \
--build-arg INSTANTCLIENT_SDK=/host/path/instantclient-sdk-linux.x64-12.2.0.1.0.zip -t my-node-oracle-app .
docker run -d --name app -p 3000:3000 my-node-oracle-app
If you want to build your own image on top of this base, a minimal example:
FROM thesuhu/docker-node-oracle-pm2:latest
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
CMD ["pm2-runtime", "start", "ecosystem.config.js"]
oracle/ folder in this repositoryThis repo contains the following ZIP files under oracle/linux/ (you must have rights to download/use these from Oracle):
Place these files in oracle/linux/ before doing a local build if you want them baked into the image.
MIT — see the LICENSE file.
Content type
Image
Digest
sha256:faed9571f…
Size
550.6 MB
Last updated
11 months ago
docker pull thesuhu/docker-node-oracle-pm2