Skip to content

Commit

Permalink
chore: fix mariadb entrypoint init filename
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Dec 10, 2024
1 parent e99f499 commit f4167af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/api-db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions services/keycloak-db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f4167af

Please sign in to comment.