Skip to content

Commit 632d394

Browse files
committed
add bootstrap-users.sql
1 parent 6a46b09 commit 632d394

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tools/docker-dev/sql/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ RUN apt-get update && apt-get install -y \
1010
netcat-openbsd
1111
RUN sed -i '/bind-address/c\bind-address = 0.0.0.0' /etc/mysql/mariadb.conf.d/50-server.cnf
1212
COPY bootstrap.sql /tmp/bootstrap.sql
13+
COPY bootstrap-users.sql /tmp/bootstrap-users.sql
1314

1415
RUN service mariadb start; \
1516
mariadb -e "CREATE DATABASE unity"; \
1617
mariadb -e "CREATE USER 'unity'@'%' IDENTIFIED BY 'password'"; \
1718
mariadb -e "GRANT ALL PRIVILEGES ON unity.* TO 'unity'@'%'"; \
1819
mariadb -e "FLUSH PRIVILEGES"; \
19-
mariadb unity < /tmp/bootstrap.sql
20+
mariadb unity < /tmp/bootstrap.sql; \
21+
mariadb unity < /tmp/bootstrap-users.sql
2022

2123
RUN rm -rf /tmp/bootstrap.sql
2224

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
INSERT INTO `account_deletion_requests` (`id`, `timestamp`, `uid`) VALUES (1, '1970-01-01 00:00:01', 'user4_org1_test');

0 commit comments

Comments
 (0)