Skip to content

Error for no such file root.sh while trying to create patched image of 21.3.0 Oracle Express Edition #2804

Open
@omkar-mullick

Description

@omkar-mullick

Hello,

I am trying to build a patched version of Oracle 21.3.0 Database with a patch,
So placed p35220732****.zip in the patches folder and
using the command ./buildContainerImage.sh -v 21.3.0 -x -p
I am getting the below error on the last part of creating the patched image-

=========================================

#16 0.529 /bin/sh: /opt/oracle/product/21c/dbhome_1/root.sh: No such file or directory
#16 ERROR: process "/bin/sh -c \"$ORACLE_BASE\"/oraInventory/orainstRoot.sh &&     \"$ORACLE_HOME\"/root.sh" did not complete successfully: exit code: 127
------
 > [stage-1 8/8] RUN "/opt/oracle"/oraInventory/orainstRoot.sh &&     "/opt/oracle/product/21c/dbhome_1"/root.sh:
0.498 Changing permissions of /opt/oracle/oraInventory.
0.498 Adding read,write permissions for group.
0.498 Removing read,write,execute permissions for world.
0.498
0.527 Changing groupname of /opt/oracle/oraInventory to oinstall.
0.529 The execution of the script is complete.
0.529 /bin/sh: /opt/oracle/product/21c/dbhome_1/root.sh: No such file or directory
------
Dockerfile:70
--------------------
  69 |     USER root
  70 | >>> RUN "$ORACLE_BASE"/oraInventory/orainstRoot.sh && \
  71 | >>>     "$ORACLE_HOME"/root.sh
  72 |
--------------------
ERROR: failed to solve: process "/bin/sh -c \"$ORACLE_BASE\"/oraInventory/orainstRoot.sh &&     \"$ORACLE_HOME\"/root.sh" did not complete successfully: exit code: 127
View build details: docker-desktop://dashboard/build/default/default/eamw6r16n66zs4s9wcftp0fa3

ERROR: Oracle Database Container Image was NOT successfully created.
ERROR: Check the output and correct any reported problems with the container build operation.

=======================================================

Please suggest on what is causing this issue

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions