Add a script which explicitly detects for the presence of config.yaml in the built container, and fails if it is there

This will prevent any leakage of config.yaml's into the built image
This commit is contained in:
Joseph Schorr 2018-01-31 18:56:50 -05:00
parent bc8e8f60e7
commit 43d74d808c
3 changed files with 12 additions and 0 deletions

View file

@ -55,4 +55,6 @@ RUN ln -s $QUAYCONF /conf
# /root/node_modules /node_modules /grunt
RUN PYTHONPATH=$QUAYPATH venv/bin/alembic heads | grep -E '^[0-9a-f]+ \(head\)$' > ALEMBIC_HEAD
RUN ./detect-config.sh
CMD ./quay-entrypoint.sh