db-sharding
db-sharding copied to clipboard
Building Oracle Database 21c Sharding extensions image fails
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