Change Dockerfiles to make the AMD image multidb

This commit is contained in:
Daniel García
2020-08-19 00:02:14 +02:00
parent 0365b7c6a4
commit 4c324e1160
17 changed files with 50 additions and 872 deletions

View File

@@ -11,16 +11,11 @@ arches=(
case "${DOCKER_REPO}" in
*-mysql)
db=mysql
arches=(amd64)
;;
*-postgresql)
db=postgresql
arches=(amd64)
;;
*)
db=sqlite
;;
esac
if [[ "${DOCKER_TAG}" == *alpine ]]; then

View File

@@ -9,6 +9,6 @@ set -ex
for arch in "${arches[@]}"; do
docker build \
-t "${DOCKER_REPO}:${DOCKER_TAG}-${arch}" \
-f docker/${arch}/${db}/Dockerfile${os_suffix} \
-f docker/${arch}/Dockerfile${os_suffix} \
.
done