Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Oracle Database 21c Sharding extensions image fails #35

Open
nakinov opened this issue Aug 9, 2023 · 0 comments
Open

Building Oracle Database 21c Sharding extensions image fails #35

nakinov opened this issue Aug 9, 2023 · 0 comments

Comments

@nakinov
Copy link

nakinov commented Aug 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant