Skip to content

Commit 394109e

Browse files
Fix/aditya059/fix for sharding repo name changes (#2930)
* Replaced 23.5 with 23.6 dockerfiles * Updated repo name * Fixed lint errors * Fixed sharding file path * Fixed lint error --------- Co-authored-by: Yunus Qureshi <[email protected]>
1 parent 2e72135 commit 394109e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

OracleDatabase/SingleInstance/extensions/sharding/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ RUN yum -y install gzip tar && \
3232
tar -xvf master.tar.gz
3333

3434
# Creating another stage for sharding extension creation
35+
# hadolint ignore=DL3006
3536
FROM ${BASE_IMAGE}
3637
# Extn name
3738
ARG EXTENSION_NAME=sharding
@@ -61,7 +62,7 @@ RUN if test -e "$ORACLE_BASE/$RUN_FILE.orig"; then EXTN='extended'; else EXTN='o
6162
mv "$ORACLE_BASE/$RUN_FILE" "$ORACLE_BASE/$RUN_FILE.$EXTN"
6263

6364
# Copy updated scripts for sharding support
64-
COPY --chown=oracle:dba --from=downloader /tmp/db-sharding-master/docker-based-sharding-deployment/dockerfiles/${BASE_IMAGE_VERSION}/scripts/* $ORACLE_BASE/scripts/sharding/
65+
COPY --chown=oracle:dba --from=downloader /tmp/db-sharding-master/container-based-sharding-deployment/containerfiles/scripts/* $ORACLE_BASE/scripts/sharding/
6566
RUN mv "$ORACLE_BASE/scripts/sharding/$RUN_FILE" "$ORACLE_BASE/$RUN_FILE.$EXTENSION_NAME"
6667

6768
# Set perms and append a call to main runOracle
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The Sharding Extension
22
The sharding extension is required to build the catalog and shard containers. When
3-
the SingleInstance container image is extended with the **sharding** extension, it downloads the
4-
required scripts from [db-sharding/docker-based-sharding-deployment](https://github.com/oracle/db-sharding/tree/master/docker-based-sharding-deployment)
3+
the SingleInstance container image is extended with the **sharding** extension, it downloads the
4+
required scripts from [db-sharding/container-based-sharding-deployment](https://github.com/oracle/db-sharding/tree/master/container-based-sharding-deployment)
55
repository, and packages them with the SingleInstance container image to form an extended image.
66

7-
More information on catalog and shard containers can be found at `db-sharding/docker-based-sharding-deployment` [README](https://github.com/oracle/db-sharding/blob/master/docker-based-sharding-deployment/README.md).
7+
More information on catalog and shard containers can be found at `db-sharding/container-based-sharding-deployment` [README](https://github.com/oracle/db-sharding/blob/master/container-based-sharding-deployment/README.md).

0 commit comments

Comments
 (0)