mirror of https://github.com/samply/bridgehead.git
Make sure copy works and the correct owner is set
This commit is contained in:
parent
785dff29bf
commit
4a4a1d76a7
|
@ -9,7 +9,6 @@ if [ "$ENABLE_DATASHIELD" == true ]; then
|
||||||
mkdir -p /tmp/bridgehead/
|
mkdir -p /tmp/bridgehead/
|
||||||
chown -R bridgehead:docker /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"
|
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
|
chmod g+r /tmp/bridgehead/opal-key.pem
|
||||||
fi
|
fi
|
||||||
mkdir -p /tmp/bridgehead/opal-map
|
mkdir -p /tmp/bridgehead/opal-map
|
||||||
|
@ -19,5 +18,6 @@ if [ "$ENABLE_DATASHIELD" == true ]; then
|
||||||
"internal": "opal:8080",
|
"internal": "opal:8080",
|
||||||
"allowed": [$input.sites[].id | "datashield-connect.\(.).broker.ccp-it.dktk.dkfz.de"]
|
"allowed": [$input.sites[].id | "datashield-connect.\(.).broker.ccp-it.dktk.dkfz.de"]
|
||||||
}' > /tmp/bridgehead/opal-map/local.json
|
}' > /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
|
fi
|
||||||
|
|
Loading…
Reference in New Issue