summaryrefslogtreecommitdiffstats
path: root/compass-db/Dockerfile-arm64
diff options
context:
space:
mode:
Diffstat (limited to 'compass-db/Dockerfile-arm64')
-rw-r--r--compass-db/Dockerfile-arm6415
1 files changed, 15 insertions, 0 deletions
diff --git a/compass-db/Dockerfile-arm64 b/compass-db/Dockerfile-arm64
new file mode 100644
index 0000000..7b5755c
--- /dev/null
+++ b/compass-db/Dockerfile-arm64
@@ -0,0 +1,15 @@
+FROM ubuntu:trusty
+
+EXPOSE 3306
+ARG BRANCH=master
+
+RUN (apt-get update || true) && \
+ DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server && \
+ rm -rf /var/lib/apt/lists/*
+
+COPY entrypoint-arm64.sh /sbin/entrypoint.sh
+RUN chmod 755 /sbin/entrypoint.sh
+
+VOLUME ["/var/lib/mysql"]
+
+CMD ["/sbin/entrypoint.sh"]