refactor: move base image reference to Dockerfile
This will allow us to take advantage of automatic update software to auto-pull new versions when they are released to docker hub.
This commit is contained in:
4
config
4
config
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
export MYSQL_IMAGE=${MYSQL_IMAGE:="mysql"}
|
||||
export MYSQL_IMAGE_VERSION=${MYSQL_IMAGE_VERSION:="5.7.28"}
|
||||
export MYSQL_IMAGE=${MYSQL_IMAGE:="$(awk -F '[ :]' '{print $2}' Dockerfile)"}
|
||||
export MYSQL_IMAGE_VERSION=${MYSQL_IMAGE_VERSION:="$(awk -F '[ :]' '{print $3}' Dockerfile)"}
|
||||
export MYSQL_ROOT=${MYSQL_ROOT:="$DOKKU_LIB_ROOT/services/mysql"}
|
||||
export MYSQL_HOST_ROOT=${MYSQL_HOST_ROOT:=$MYSQL_ROOT}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user