summaryrefslogtreecommitdiffstats
path: root/compass-db/Dockerfile
blob: 997c0ab4282d45816e9431374097718f6b09cd06 (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 && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server && \
    rm -rf /var/lib/apt/lists/*

COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh

VOLUME ["/var/lib/mysql"]

CMD ["/sbin/entrypoint.sh"]