Skip to content

Commit

Permalink
Update Oracle readme with platform notes
Browse files Browse the repository at this point in the history
And remove mention of `INSTANTCLIENT_VERSION` and `INSTANTCLIENT_VDIR`,
which were replaced in 0866100 in favor of always installing the latest
version of instant client.
  • Loading branch information
theory committed Aug 28, 2024
1 parent eccb5c5 commit 9e21249
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions oracle/README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
Sqitch Oracle Docker Image
==========================

1. Build an image named `sqitch-oracle` with this command

docker build -t sqitch-oracle .

If you want to control the version of [Instant Client], pass the
`INSTANTCLIENT_VERSION` AND `INSTANTCLIENT_VDIR` (the version with dots
removed) arguments:

docker build -t sqitch-oracle \
--build-arg INSTANTCLIENT_VERSION=21.3.0.0.0 \
--build-arg INSTANTCLIENT_VDIR=213000 \
.
1. Build an x86 image named `sqitch-oracle` with the latest version of
[Instant Client] by running this command from the root directory:

``` sh
env env DIR=oracle ARCHS=amd64 ./build
```

> Support for arm64 is included, but DBD::Oracle fails to build with this
> error:
>
> 39.41 /usr/bin/ld: cannot find -lclntshcore: No such file or directory
>
> The file seems to be missing from the arm64 Instant Client download.
> Once it's fixed, remove `ARCHS=amd64` from the above command to build
> both x86 and arm64 images.
2. Set up a [`tnsnames.ora` file] in your home directory. For example,
`~./sqlplus/tnsnames.ora`.
Expand Down

0 comments on commit 9e21249

Please sign in to comment.