aboutsummaryrefslogtreecommitdiff
path: root/docker/db/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/db/Dockerfile')
-rw-r--r--docker/db/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/db/Dockerfile b/docker/db/Dockerfile
new file mode 100644
index 0000000..5df9b5a
--- /dev/null
+++ b/docker/db/Dockerfile
@@ -0,0 +1,10 @@
+FROM mysql:5.7
+
+ENV MYSQL_ROOT_PASSWORD password
+ENV MYSQL_USER patchwork
+ENV MYSQL_PASSWORD password
+
+# We don't want to use the MYSQL_DATABASE env here because
+# we want to be able to create the database with UTF-8 explictly.
+# We also can't load in the data because it's in XML, yay.
+