db-sharding icon indicating copy to clipboard operation
db-sharding copied to clipboard

Building Oracle Database 21c Sharding extensions image fails

Open nakinov opened this issue 2 years ago • 0 comments

Hi Everyone,

While building the docker image for the Oracle Database 21c Sharding extensions, the build fails at the Dockerfile line "su oracle -c "$INSTALL_DIR/install/$INSTALL_GSM_BINARIES_FILE" && "

It works if you add these to lines in the setupLinuxEnv.sh script:

docker-based-sharding-deployment/dockerfiles/21.3.0/setupLinuxEnv.sh

sed -i 's/^#oracle hard memlock/# #oracle hard memlock/' /etc/security/limits.d/oracle-database-preinstall-21c.conf sed -i 's/^session\sinclude\ssystem-auth/# session include system-auth/' /etc/pam.d/su

Best regards, Lazar

nakinov avatar Aug 09 '23 20:08 nakinov