summaryrefslogtreecommitdiffstats
path: root/compass-db/Dockerfile-arm64
blob: 7b5755cf67b81e9fe7d655bf8a9f2507d88b7205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"]