mirror of https://github.com/samply/bridgehead.git
Make sure copy works and the correct owner is set
This commit is contained in:
parent
da3715d71f
commit
647630314a
|
@ -9,7 +9,6 @@ if [ "$ENABLE_DATASHIELD" == true ]; then
|
|||
mkdir -p /tmp/bridgehead/
|
||||
chown -R bridgehead:docker /tmp/bridgehead/
|
||||
openssl req -x509 -newkey rsa:4096 -nodes -keyout /tmp/bridgehead/opal-key.pem -out /tmp/bridgehead/opal-cert.pem -days 3650 -subj "/CN=${HOST:-opal}/C=DE"
|
||||
chown -R bridgehead:docker /tmp/bridgehead/
|
||||
chmod g+r /tmp/bridgehead/opal-key.pem
|
||||
fi
|
||||
mkdir -p /tmp/bridgehead/opal-map
|
||||
|
@ -19,5 +18,6 @@ if [ "$ENABLE_DATASHIELD" == true ]; then
|
|||
"internal": "opal:8080",
|
||||
"allowed": [$input.sites[].id | "datashield-connect.\(.).broker.ccp-it.dktk.dkfz.de"]
|
||||
}' > /tmp/bridgehead/opal-map/local.json
|
||||
cp ./$PROJECT/modules/datashield-mappings.json /tmp/bridgehead/opal-map/central.json
|
||||
cp -f ./$PROJECT/modules/datashield-mappings.json /tmp/bridgehead/opal-map/central.json
|
||||
chown -R bridgehead:docker /tmp/bridgehead/
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue