Skip to content

Error while creating docker image with LINUX.X64_213000_db_home.zip #3002

@imsaikat

Description

@imsaikat

=> ERROR [stage-2 2/4] RUN /opt/oracle/oraInventory/orainstRoot.sh && /opt/oracle/product/21c/dbhome_1/root.sh 0.2s

[stage-2 2/4] RUN /opt/oracle/oraInventory/orainstRoot.sh && /opt/oracle/product/21c/dbhome_1/root.sh:
0.147 /bin/sh: /opt/oracle/oraInventory/orainstRoot.sh: No such file or directory


2 warnings found (use docker --debug to expand):

  • FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 23)
  • JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 142)
    Dockerfile:129

128 | USER root
129 | >>> RUN $ORACLE_BASE/oraInventory/orainstRoot.sh &&
130 | >>> $ORACLE_HOME/root.sh
131 |

ERROR: failed to build: failed to solve: process "/bin/sh -c $ORACLE_BASE/oraInventory/orainstRoot.sh && $ORACLE_HOME/root.sh" did not complete successfully: exit code: 127

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions