Skip to content

Instantly share code, notes, and snippets.

@ll911
Last active September 13, 2023 00:48
Show Gist options
  • Save ll911/b1375c0e51652d6cc536c5418a236def to your computer and use it in GitHub Desktop.
Save ll911/b1375c0e51652d6cc536c5418a236def to your computer and use it in GitHub Desktop.
entrypoint for oradb in OpenShift
#/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