Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from oracle:main #164

Open
wants to merge 89 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
cea95d9
Oracle GoldenGate 23c
sbalousek Jan 30, 2024
5dcc08e
fixes for compose files for RAC (#2755)
s1saurabh Feb 6, 2024
310a71f
Enhancement to fix issue 2740 (#2754)
aditya059 Feb 6, 2024
8377b74
readme file changes (#2758)
s1saurabh Feb 7, 2024
a79b41c
fix-nfs (#2759)
s1saurabh Feb 20, 2024
caea5ad
Update to NoSQL CE 23.3.30 (#2769)
dario-vega Mar 6, 2024
ff78d02
added JDK 22 to OracleJava, replaced JDK 21 with JDK 22 in OracleOpen…
aureliogrb Mar 22, 2024
73fc5e4
common scripts added (#2776)
s1saurabh Mar 28, 2024
38ea4af
updated to April 2024 Critical Patch Update versions
aureliogrb Apr 17, 2024
4ee1c12
Add property upsert capability from helm charts using configMap (#2778)
prasebha Apr 24, 2024
43bb2b8
Bump github/super-linter from 5 to 6
dependabot[bot] Apr 24, 2024
5fb7f0d
Add Instant Client 19 for OL0
cjbj Apr 28, 2024
c634d2b
Bump Instant Client to 19.22
cjbj Apr 11, 2024
d24b630
fix(ci): update Super Linter configuration for v6
Djelibeybi Apr 28, 2024
6c64202
Oracle GoldenGate
sbalousek Apr 4, 2024
84f8b14
Oracle GoldenGate
sbalousek Apr 10, 2024
2b8ff85
Oracle GoldenGate
sbalousek Apr 10, 2024
239c77a
Oracle GoldenGate
sbalousek Apr 11, 2024
cdb1bc2
Oracle GoldenGate
sbalousek Apr 11, 2024
945c604
Oracle GoldenGate
sbalousek Apr 12, 2024
bb4cce0
Oracle GoldenGate
sbalousek May 2, 2024
3228e45
Oracle GoldenGate
sbalousek May 2, 2024
a7760ca
Oracle GoldenGate
sbalousek May 2, 2024
5c8d914
Oracle GoldenGate
sbalousek May 2, 2024
a2cb01d
chore(ci): add .editorconfig to configure the shfmt linter
Djelibeybi May 2, 2024
1e3dd12
fix(ci): disable shfmt linter
Djelibeybi May 9, 2024
120df87
NOSQL - Update to version 23.3.32 (#2788)
dario-vega May 10, 2024
e15651e
23.4.0 Free Containerfiles release and related changes (#2797)
aditya059 May 10, 2024
0818a5d
Update SECURITY.md
LesiaChaban May 10, 2024
1a0a8c5
Update SECURITY.md
LesiaChaban May 13, 2024
0155e43
Update SECURITY.md
LesiaChaban May 13, 2024
748f128
Added config to provide network config (#2803)
tanmaygarg-oracle May 15, 2024
007e037
Fixing issue #2801 (#2802)
aditya059 May 15, 2024
756646a
Fixing readme to resolve issue 2760 (#2767)
aditya059 May 15, 2024
448fb35
Removed Network Config (#2806)
tanmaygarg-oracle May 17, 2024
828db76
removed 777 perm (#2811)
tanmaygarg-oracle Jun 7, 2024
6f6c556
fixed image removal command (#2813)
tanmaygarg-oracle Jun 13, 2024
4032861
Bump docker/build-push-action from 5 to 6
dependabot[bot] Jun 17, 2024
a8f47ae
handled agent kill in post upgrade stage (#2818)
tanmaygarg-oracle Jun 18, 2024
53f2052
added check to prevent config override if not present (#2819)
tanmaygarg-oracle Jun 24, 2024
fe736c5
add option to disable default jre security property file (#2792)
prasebha Jun 26, 2024
d1bbb8b
Initial Instant Client 23c containers
cjbj Jun 28, 2024
adbbc05
Fix typo noted in review comment
cjbj Jun 29, 2024
5d32306
Fix workflow review comment
cjbj Jul 1, 2024
58b1ee1
Added OracleLinux9 with Python3.12
europ Jul 11, 2024
dcf44a5
Add OracleLinux8 with python3.12
jakegt1 Jul 15, 2024
62b04da
updated files for Jul 2024 Java SE Critical Patch Updates
aureliogrb Jul 16, 2024
fa24c6d
created a docker file to offer JDK 21 on OL9 as well as the existing …
aureliogrb Jul 19, 2024
0c4761a
Allow word splitting proxy variable in Tuxedo build script
marcransome Jul 25, 2024
e1ed15e
Remove unnecessary space character
marcransome Jul 25, 2024
e57426d
Add Python 3.9 image with python-oracledb
cjbj Jul 31, 2024
ff99983
Fix review comment - start with a Python image
cjbj Jul 31, 2024
8abd037
Fixed for matching permissions (#2842)
tanmaygarg-oracle Aug 6, 2024
a71acdf
Add an image with Python 3.11 and python-oracledb
cjbj Aug 7, 2024
a546383
Adding OHS 12.2.1.4 dockerfiles and removing 12.2.1.3 which is no lon…
mriccell Aug 14, 2024
cb1416b
Changed PAR URL (#2848)
tanmaygarg-oracle Aug 20, 2024
c03c373
Replaced 23.4 to 23.5 dockerfiles and related changes (#2856)
aditya059 Aug 29, 2024
d18d04d
2853 fixes (#2854)
oraclesean Aug 29, 2024
4fafdfa
Bump github/super-linter from 6 to 7
dependabot[bot] Aug 29, 2024
44c5a35
upload latest 23.5.0 for cman (#2858)
s1saurabh Aug 30, 2024
7cd0e9f
Make copies recursive (#2850)
mriccell Sep 3, 2024
0a4535a
pick latest changes for 19c and 21c scripts (#2864)
s1saurabh Sep 13, 2024
c9272c6
Update Instant Client dockerfile comments (#2863)
cjbj Sep 16, 2024
9fa9cef
Updated JDK 22 to JDK 23
aureliogrb Sep 17, 2024
d8bb0e8
Update for Instant Client 19.23
cjbj Sep 13, 2024
61242dc
Arm 23ai related checks and readme, FAQ update (#2868)
aditya059 Sep 20, 2024
6a0c386
Add OCNE based k8s tool images that supply helm and kubectl.
jakegt1 Sep 10, 2024
afbe8da
Rename to more logical versions
jakegt1 Sep 10, 2024
35573ed
Do helm and kubectl images instead
jakegt1 Sep 10, 2024
3e62536
Use --help instead of version as default command
jakegt1 Sep 10, 2024
1273bd9
Add ocne-tools with oci-cli, helm, kubectl.
jakegt1 Sep 10, 2024
4643834
Use COPY instead of ADD
jakegt1 Sep 11, 2024
7b2c6e4
Hadolint ignore oci-cli latest
jakegt1 Sep 20, 2024
4269331
Add copyright
jakegt1 Sep 25, 2024
df7825a
Add ruby 3.3 images for both OL8 and OL9
jakegt1 Sep 26, 2024
f8bd204
Add OCNE tools 1.9, kubectl 1.29
jakegt1 Oct 9, 2024
c7f1db9
updated release versions to the Oct 2024 CPU. JDK 17 is no longer av…
aureliogrb Oct 15, 2024
49965e3
Update Dockerfile copyright year
aureliogrb Oct 15, 2024
a7906e3
Updated copyright to 2024
aureliogrb Oct 15, 2024
1bafb1c
Update Dockerfile copyright
aureliogrb Oct 15, 2024
a59dee4
changed copyright year, fixed indentation"
aureliogrb Oct 15, 2024
6156518
Added space between JDK and 17"
aureliogrb Oct 15, 2024
d966621
removed trailing spaces and replaced OL with Oracle Linux in the comm…
aureliogrb Oct 16, 2024
801bdcb
cleaned trailing whitespaces
aureliogrb Oct 16, 2024
5fcdc5d
agent installer update for root dir change (#2885)
drupanchal Oct 30, 2024
ed648c5
Update Instant Client to 19.25 (#2888)
cjbj Nov 8, 2024
5846bb2
fix for slim build issue (#2889)
s1saurabh Nov 15, 2024
6ed3e05
NOSQL - Update to version 24.3.9 (#2892)
dario-vega Dec 4, 2024
cd4cf71
Added to support handling of stuck podman container (#2894)
tanmaygarg-oracle Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/linters/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*.sh]
binary_next_line = true
indent_style = space
indent_size = 4
insert_final_newline = true
keep_padding = true
shell_variant = bash
space_redirects = true
switch_case_indent = true
trim_trailing_whitespace = true
5 changes: 2 additions & 3 deletions .github/super-linter.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
BASH_SEVERITY=warning
DEFAULT_BRANCH=main
ERROR_ON_MISSING_EXEC_BIT=true
DEFAULT_BRANCH=origin/main
VALIDATE_ALL_CODEBASE=false
VALIDATE_BASH=true
VALIDATE_BASH_EXEC=true
VALIDATE_DOCKERFILE_HADOLINT=true
VALIDATE_GITHUB_ACTIONS=true
VALIDATE_MARKDOWN=true
VALIDATE_SHELL_SHFMT=true
8 changes: 4 additions & 4 deletions .github/workflows/build-and-push-dev-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ on:
required: false
lang:
description: List of languages to build
default: 'gcc-toolset, golang, nginx, nodejs, php, python, redis, ruby, haproxy'
default: 'gcc-toolset, golang, nginx, nodejs, php, python, redis, ruby, haproxy, kubectl, helm, ocne-tools'
required: false

# Default values for the builds triggered by the push event
env:
ol: 'oraclelinux7, oraclelinux8, oraclelinux9'
lang: 'gcc-toolset, golang, nodejs, nginx, php, python, redis, ruby, haproxy'
lang: 'gcc-toolset, golang, nodejs, nginx, php, python, redis, ruby, haproxy, kubectl, helm, ocne-tools'

jobs:
prepare:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image - amd64
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: OracleLinuxDevelopers/${{ matrix.ol }}/${{ matrix.lang }}/${{ matrix.tag }}
platforms: linux/amd64
Expand All @@ -164,7 +164,7 @@ jobs:
"ghcr.io/${{ needs.prepare.outputs.repository_owner }}/${{ matrix.ol }}-${{ matrix.lang }}:${{ matrix.tag }}${{ matrix.multi && '-amd64' || '' }}"

- name: Build image - arm64
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: matrix.multi
with:
context: OracleLinuxDevelopers/${{ matrix.ol }}/${{ matrix.lang }}/${{ matrix.tag }}
Expand Down
27 changes: 23 additions & 4 deletions .github/workflows/build-and-push-instantclient-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- 'OracleInstantClient/*/19/*'
- 'OracleInstantClient/*/21/*'
- 'OracleInstantClient/*/23/*'
- '.github/workflows/build-and-push-instantclient-images.yml'
workflow_dispatch:

Expand Down Expand Up @@ -39,8 +40,8 @@ jobs:
git diff --name-only '${{ github.event.before }}..${{ github.event.after }}' > "${changes}"
if grep -q build-and-push-instantclient-images.yml "${changes}"; then
echo "PUSH: Action updated: rebuilding all images"
ol="oraclelinux7 oraclelinux8"
ic="19 21"
ol="oraclelinux7 oraclelinux8 oraclelinux9"
ic="19 21 23"
else
echo "PUSH: Rebuilding changed images only"
if grep -q oraclelinux7 "${changes}"; then
Expand All @@ -49,17 +50,23 @@ jobs:
if grep -q oraclelinux8 "${changes}"; then
ol="${ol} oraclelinux8"
fi
if grep -q oraclelinux9 "${changes}"; then
ol="${ol} oraclelinux9"
fi
if grep -q /19/ "${changes}"; then
ic="19"
fi
if grep -q /21/ "${changes}"; then
ic="${ic} 21"
fi
if grep -q /23/ "${changes}"; then
ic="${ic} 23"
fi
fi
else
echo "MANUAL: Rebuilding all"
ol='oraclelinux7 oraclelinux8'
ic="19 21"
ol="oraclelinux7 oraclelinux8 oraclelinux9"
ic="19 21 23"
fi
echo "Rebuilding: ${ol} ${ic}"
echo "ol=${ol}" >> $GITHUB_OUTPUT
Expand All @@ -81,6 +88,12 @@ jobs:
do
for i in ${{ steps.linux-version.outputs.ic }}
do
if [[ ${o} = "oraclelinux7" && ${i} = "23" ]]; then
continue
fi
if [[ ${o} = "oraclelinux9" && ${i} = "21" ]]; then
continue
fi
docker build --tag ghcr.io/${{ steps.repo-owner.outputs.repo-owner }}/${o}-instantclient:${i} OracleInstantClient/${o}/${i}
done
done
Expand All @@ -91,6 +104,12 @@ jobs:
do
for i in ${{ steps.linux-version.outputs.ic }}
do
if [[ ${o} = "oraclelinux7" && ${i} = "23" ]]; then
continue
fi
if [[ ${o} = "oraclelinux9" && ${i} = "21" ]]; then
continue
fi
docker push ghcr.io/${{ steps.repo-owner.outputs.repo-owner }}/${o}-instantclient:${i}
done
done
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-nosql-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
TAG: ${{ steps.date.outputs.date }}-ce
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./NoSQL/ce/
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-nosql-sec-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
TAG: ${{ steps.date.outputs.date }}-ce-sec
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: ./NoSQL/ce-sec/
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-oci-cli-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: Build and push image
id: build-and-push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
build-args: |
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ jobs:
name: Lint new or modified files
runs-on: ubuntu-latest

permissions:
contents: read
packages: read
statuses: write

steps:
- name: Checkout Git repository with history
uses: actions/checkout@v4
Expand All @@ -20,7 +25,7 @@ jobs:
run: cat .github/super-linter.env >> "$GITHUB_ENV"

- name: Run Super Linter
uses: github/super-linter/slim@v5
uses: github/super-linter/slim@v7
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 17 additions & 14 deletions NoSQL/README-sec.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This container image uses a simplified version of the Oracle NoSQL Database call

This container image configures an Oracle NoSQL Database secure configuration
1. Create a KVlite secured configuration with the
[password complexity policy](https://docs.oracle.com/en/database/other-databases/nosql-database/22.1/security/password-complexity-policies.html)
[password complexity policy](https://docs.oracle.com/en/database/other-databases/nosql-database/24.3/security/password-complexity-policies.html)
enabled
2. Create the `root` user and the file `user.security` that contain property settings for the login as admin
3. Generate the `certificate.pem` file allowing to establish a HTTP secure communication between the proxy and the driver
Expand Down Expand Up @@ -86,7 +86,7 @@ For example, to check the version of KVLite, use the `version` command:

```shell
$ docker run --rm -ti --link kvlite:store oracle/nosql:ce-sec java -Xmx64m -Xms64m -jar lib/kvstore.jar version
22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community
24.3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community
```

To check the size of the storage shard:
Expand All @@ -110,18 +110,17 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos
-security /shared_conf/user.security

kv-> ping

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2023-02-27 06:37:49 UTC Version: 22.3.32
Time: 2024-12-04 12:14:44 UTC Version: 24.3.9
Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1
Admin Status: healthy
Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14
19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:36:21 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:36:26 UTC stateChangeTime: 2023-02-27 06:36:25 UTC
availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 361 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime:
2023-02-27 06:36:28 UTC stateChangeTime: 2023-02-27 06:36:28 UTC
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 24.3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community isMasterBalanced: true serviceStartTime: 2024-12-04 12:06:43 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-12-04 12:06:47 UTC stateChangeTime: 2024-12-04 12:06:47 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 131 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-12-04 12:06:49 UTC stateChangeTime: 2024-12-04 12:06:50 UTC


kv-> put kv -key /SomeKey -value SomeValue
Operation successful, record inserted.
Expand All @@ -141,13 +140,17 @@ $ docker run --rm -ti -v secfiles:/shared_conf:ro --link kvlite:store oracle/nos
tables
SYS$IndexStatsLease
SYS$MRTableAgentStat
SYS$MRTableInfo
SYS$MRTableInitCheckpoint
SYS$PartitionStatsLease
SYS$SGAttributesTable
SYS$StreamRequest
SYS$StreamResponse
SYS$TableMetadata
SYS$TableStatsIndex
SYS$TableStatsPartition
SYS$TopologyHistory

sql-> exit
```

Expand Down Expand Up @@ -203,7 +206,7 @@ $ openssl x509 -text -noout -in /mylocalpath/certificate.pem | grep CN

````
Note: the certicate can be customized in the script setup-http-proxy-sec.sh
(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/22.1/security/ssl-using-openssl.html))
(e.g adding [SAN](https://docs.oracle.com/en/database/other-databases/nosql-database/24.3/security/ssl-using-openssl.html))

## Advanced Scenario: connecting to Oracle NoSQL CE from another host

Expand All @@ -218,7 +221,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`.
First, install the latest version of Oracle NoSQL on your remote host:

```shell
KV_VERSION=22.3.32
KV_VERSION=24.3.9
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
Expand Down Expand Up @@ -401,7 +404,7 @@ number used for the image tag:


```shell
KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
KV_VERSION=24.3.9 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce-sec:$KV_VERSION" .
```

## More information
Expand All @@ -424,9 +427,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition.

## Copyright

Copyright (c) 2017, 2023 Oracle and/or its affiliates.
Copyright (c) 2017, 2024 Oracle and/or its affiliates.

[NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html
[DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/24.3/license/apache-license.html
[GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md
25 changes: 13 additions & 12 deletions NoSQL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ For example, to check the version of KVLite, use the `version` command:

```shell
$ docker run --rm -ti --link kvlite:store oracle/nosql:ce java -Xmx64m -Xms64m -jar lib/kvstore.jar version
22.3.32 2023-02-14 19:38:03 UTC Build id: 23acbda81a26 Edition: Community
24.3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community
```

To check the size of the storage shard:
Expand All @@ -98,16 +98,13 @@ $ docker run --rm -ti --link kvlite:store oracle/nosql:ce \

Pinging components of store kvstore based upon topology sequence #14
10 partitions and 1 storage nodes
Time: 2023-02-27 06:25:43 UTC Version: 22.3.32
Time: 2024-12-04 11:50:35 UTC Version: 24.3.9
Shard Status: healthy: 1 writable-degraded: 0 read-only: 0 offline: 0 total: 1
Admin Status: healthy
Zone [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] RN Status: online: 1 read-only: 0 offline: 0
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 22.3.32 2023-02-14
19:38:03 UTC Build id: 23acbda81a26 Edition: Community isMasterBalanced: true serviceStartTime: 2023-02-27 06:24:27 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2023-02-27 06:24:30 UTC stateChangeTime: 2023-02-27 06:24:30 UTC
availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 314 haPort: 5011 availableStorageSize: 9 GB storageType: HD
serviceStartTime: 2023-02-27 06:24:33 UTC stateChangeTime: 2023-02-27 06:24:34 UTC
Storage Node [sn1] on kvlite: 5000 Zone: [name=KVLite id=zn1 type=PRIMARY allowArbiters=false masterAffinity=false] Status: RUNNING Ver: 24.3.9 2024-09-26 18:01:32 UTC Build id: 0d82533c492e Edition: Community isMasterBalanced: true serviceStartTime: 2024-12-04 11:47:05 UTC
Admin [admin1] Status: RUNNING,MASTER serviceStartTime: 2024-12-04 11:47:08 UTC stateChangeTime: 2024-12-04 11:47:08 UTC availableStorageSize: 2 GB
Rep Node [rg1-rn1] Status: RUNNING,MASTER sequenceNumber: 470 haPort: 5011 availableStorageSize: 9 GB storageType: HD serviceStartTime: 2024-12-04 11:47:09 UTC stateChangeTime: 2024-12-04 11:47:09 UTC

kv-> put kv -key /SomeKey -value SomeValue
Operation successful, record inserted.
Expand All @@ -126,13 +123,17 @@ $ docker run --rm -ti --link kvlite:store oracle/nosql:ce \
tables
SYS$IndexStatsLease
SYS$MRTableAgentStat
SYS$MRTableInfo
SYS$MRTableInitCheckpoint
SYS$PartitionStatsLease
SYS$SGAttributesTable
SYS$StreamRequest
SYS$StreamResponse
SYS$TableMetadata
SYS$TableStatsIndex
SYS$TableStatsPartition
SYS$TopologyHistory

sql-> exit
```

Expand Down Expand Up @@ -175,7 +176,7 @@ be made via the Oracle NoSQL Database Proxy on the `KV_PROXY_PORT`.
First, install the latest version of Oracle NoSQL on your remote host:

```shell
KV_VERSION=22.3.32
KV_VERSION=24.3.9
rm -rf kv-$KV_VERSION
DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
Expand Down Expand Up @@ -335,7 +336,7 @@ number used for the image tag:


```shell
KV_VERSION=22.3.32 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
KV_VERSION=24.3.9 docker build --build-arg "$KV_VERSION" --tag "oracle/nosql-ce:$KV_VERSION" .
```

## More information
Expand All @@ -358,9 +359,9 @@ Oracle provides no commercial support for the Oracle NoSQL Community Edition.

## Copyright

Copyright (c) 2017, 2023 Oracle and/or its affiliates.
Copyright (c) 2017, 2024 Oracle and/or its affiliates.

[NOSQL]: http://www.oracle.com/technetwork/database/database-technologies/nosqldb/overview/index.html
[DOCS]: https://docs.oracle.com/en/database/other-databases/nosql-database/index.html
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/22.3/license/index.html#NSXLI-GUID-006E432E-1965-45A2-AEDE-204BD05E1560
[Apache-2.0]: https://docs.oracle.com/en/database/other-databases/nosql-database/24.3/license/apache-license.html
[GraalVM-License]: https://github.com/graalvm/container/blob/master/LICENSE.md
9 changes: 5 additions & 4 deletions NoSQL/ce-sec/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright (c) 2022, 2023 Oracle and/or its affiliates.
# Copyright (c) 2022, 2024 Oracle and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
#
FROM ghcr.io/graalvm/jdk:ol8-java17
FROM ghcr.io/graalvm/jdk:ol9-java17

LABEL org.opencontainers.image.source = "https://github.com/oracle/docker-images"

ARG KV_VERSION=22.3.32
ARG KV_VERSION=24.3.9
ARG DOWNLOAD_ROOT=http://download.oracle.com/otn-pub/otn_software/nosql-database
ARG DOWNLOAD_FILE="kv-ce-${KV_VERSION}.zip"
ARG DOWNLOAD_LINK="${DOWNLOAD_ROOT}/${DOWNLOAD_FILE}"
Expand All @@ -16,9 +16,10 @@ ENV KV_ADMIN_PORT 5999
ENV KV_PORT 5000
ENV KV_HARANGE 5010-5020
ENV KV_SERVICERANGE 5021-5049
ENV KV_ADDITIONAL_SAN=",DNS:proxy-nosql,DNS:kvlite-nosql-container-host"

# specific to secure configuration
RUN microdnf -y install openssl-1.1.1k && microdnf clean all
RUN microdnf -y install openssl-3.0.1 && microdnf clean all

# hadolint ignore=DL4006
RUN useradd -d /kvroot -m -s /bin/bash -u 1000 nosql-user && \
Expand Down
Loading