Files
containers/bitnami/mariadb/rootfs/etc/cont-init.d/01-initialize-configs
Sameer Naik d63a182a52 added initialize-configs init script to populate the conf/ volume
`mysql` client fails when it is started from the docker run command line
due to missing `my.cnf`. To workaround this issue, we populate the
`conf/` volume from a `cont-init.d/01-initialize-configs` scripts.
2015-10-08 19:23:45 +05:30

8 lines
157 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
set -e
source $BITNAMI_PREFIX/bitnami-utils.sh
if [ ! "$(ls -A $BITNAMI_APP_VOL_PREFIX/conf)" ]; then
generate_conf_files
fi