Sha256: da55568e737ea023c3a08c740e5b68ee3f4e89adcb64334fa91ed6e46aafe23b

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

# MySQL 5.5

FROM fgrehm/ventriloquist-base

# prevent apt from starting mysql right after the installation
RUN echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d; chmod +x /usr/sbin/policy-rc.d && \
    apt-get -q -y install mysql-server-5.5 && \
    apt-get clean && \
    sed -i 's/127.0.0.1/0.0.0.0/' /etc/mysql/my.cnf && \
    apt-get clean && \
    rm /usr/sbin/policy-rc.d # allow autostart again

ADD config /
RUN /bin/add-mysql-user

EXPOSE  3306
CMD     ["/usr/sbin/mysqld"]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ventriloquist-0.4.1 services/mysql/5.5/Dockerfile
ventriloquist-0.4.0 services/mysql/5.5/Dockerfile