Last active
September 27, 2023 19:25
-
-
Save ll911/27b38a293b42257137b86b5058e8457c to your computer and use it in GitHub Desktop.
entrypoint for siebel 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/^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