From f4167af8df2de7d925fab0a7c27e1b9370f642ff Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Tue, 10 Dec 2024 14:33:49 +1100 Subject: [PATCH] chore: fix mariadb entrypoint init filename --- services/api-db/Dockerfile | 2 ++ services/keycloak-db/Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/services/api-db/Dockerfile b/services/api-db/Dockerfile index 93098a7ade..9f9a4e0788 100644 --- a/services/api-db/Dockerfile +++ b/services/api-db/Dockerfile @@ -12,6 +12,8 @@ COPY ./legacy-migration-scripts/* /legacy-migration-scripts/ RUN chown -R mysql /legacy-migration-scripts/ \ && /bin/fix-permissions /legacy-migration-scripts/ +RUN sed -i 's/mariadb-init-complete/startup-init-complete/g' /lagoon/entrypoints/9999-mariadb-init.bash + USER mysql ENV MARIADB_DATABASE=infrastructure \ diff --git a/services/keycloak-db/Dockerfile b/services/keycloak-db/Dockerfile index 6f26eb61a3..da3035388a 100644 --- a/services/keycloak-db/Dockerfile +++ b/services/keycloak-db/Dockerfile @@ -13,5 +13,6 @@ ENV MARIADB_DATABASE=keycloak \ COPY my_query-cache.cnf /etc/mysql/conf.d/my_query-cache.cnf USER root +RUN sed -i 's/mariadb-init-complete/startup-init-complete/g' /lagoon/entrypoints/9999-mariadb-init.bash RUN fix-permissions /etc/mysql/conf.d/ USER mysql