refactor: Use jq from docker

This commit is contained in:
janskiba
2024-01-31 09:21:19 +00:00
committed by juarez
parent 92a1f4bb59
commit 01d3a38e18
2 changed files with 10 additions and 5 deletions

View File

@ -345,3 +345,7 @@ generate_simple_password(){
local combined_text="This is a salt string to generate one consistent password for ${seed_text}. It is not required to be secret."
echo "${combined_text}" | openssl rsautl -sign -inkey "/etc/bridgehead/pki/${SITE_ID}.priv.pem" 2> /dev/null | base64 | head -c 26 | sed 's/[+\/]/A/g'
}
docker_jq() {
docker run --rm -i docker.verbis.dkfz.de/cache/jqlang/jq:1.7 "$@"
}