Last active
September 13, 2023 00:48
-
-
Save ll911/b1375c0e51652d6cc536c5418a236def to your computer and use it in GitHub Desktop.
entrypoint for oradb in OpenShift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
sed -e "s/^oracle:x:[^:]*:[^:]*:/oracle:x:$(id -u):$(id -u):/" /etc/passwd > /tmp/passwd | |
cat /tmp/passwd > /etc/passwd | |
rm /tmp/passwd | |
/opt/oracle/runOracle.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment