| 12345678910111213 |
- #!/bin/bash
- set -eo pipefail
- # not using '--entrypoint', since regular entrypoint sets up config
- docker run -i --rm \
- -e CORS_ALLOW_ORIGIN="http://example.com:4300,http://example.com:5300" \
- -e CORS_ALLOW_METHODS="DELETE,PUT" \
- -e CORS_ALLOW_CREDENTIALS=false \
- -e CORS_EXPOSE_HEADERS="X-Example-Header" \
- -e CORS_ALLOW_HEADERS="X-Example-Header,X-Z-Header" \
- -e CORS_MAX_AGE=600 \
- -v /plone/instance/bin/develop \
- "$1" cat parts/instance/etc/package-includes/999-additional-overrides.zcml
|