Seems Google Cloud Run has error when running with operator <
in this line in docker-entrypoint.sh, cause the container cannot start up normally.
\$cfg['blowfish_secret'] = '$(tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom | fold -w 32 | head -n 1)';
This script change the code from tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-' < /dev/urandom
to head -c 10000 /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*_()+}{?></";.,[]=-'
- Manually setup Google Container Registry / Artifact Registry.
- Change the params in Makefile and then run
make push
. It will build and push to the registry. - Use
REGISTRY_PATH
output in console as the cloud run image.
params | description |
---|---|
PROJECT_NAME | GCP Project Name |
REGISTRY | Google Container Registry / Artifact Registry |
REPOSITORY | Google Artifact Registry Repository |
VERSION | Phpmyadmin Version |