Skip to content

Build of OracleDatabase 19.3 fails in kaniko (gitlab ci pipeline on Kubernetes) #2561

Open
@marcwittke

Description

@marcwittke

There is a permission issue:

INFO[0384] Running: [/bin/sh -c chmod ug+x $INSTALL_DIR/*.sh &&     sync &&     $INSTALL_DIR/$INSTALL_DB_BINARIES_FILE $DB_EDITION] 
sed: couldn't open temporary file /opt/install/sedMC9TWJ: Permission denied
mv: cannot move '/opt/install/LINUX.X64_193000_db_home.zip' to '/opt/oracle/product/19c/dbhome_1/LINUX.X64_193000_db_home.zip': Permission denied

The fix is to add a RUN chown before calling the install script:

https://github.com/marcwittke/docker-images/blob/main/OracleDatabase/SingleInstance/dockerfiles/19.3.0/Dockerfile#L108=L113

However, I won't open a PR because of all this legal kung-fu required here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions