mirror of
https://github.com/bitnami/containers.git
synced 2026-03-21 15:29:05 +08:00
`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.
8 lines
157 B
Plaintext
Executable File
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
|