Skip to content

Instantly share code, notes, and snippets.

@ll911
Last active September 27, 2023 19:25
Show Gist options
  • Save ll911/27b38a293b42257137b86b5058e8457c to your computer and use it in GitHub Desktop.
Save ll911/27b38a293b42257137b86b5058e8457c to your computer and use it in GitHub Desktop.
entrypoint for siebel in openshift
#/bin/bash
sed -e "s/^siebel:x:[^:]*:[^:]*:/siebel:x:$(id -u):$(id -u):/" /etc/passwd > /tmp/passwd
cat /tmp/passwd > /etc/passwd
rm /tmp/passwd
export BRC=https://raw.githubusercontent.com/OracleSiebel/ConfiguringSiebel/master/Containerization/Docker/oraclelinux/classic-mde/build/persistence/siebel/standard/bashrc
export CRC=https://raw.githubusercontent.com/OracleSiebel/ConfiguringSiebel/master/Containerization/Docker/oraclelinux/classic-mde/build/persistence/siebel/standard/cshrc
curl -s -o /home/siebel/.bashrc "${BRC}"
curl -s -o /home/siebel/.cshrc "${CRC}"
export RESOLV_MULTI=OFF
/bin/bash /config/initSiebel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment