d30f69bc83
This represents making build-docker-images --release build with the icehouse tag and causes docker-compsoe to pull from the icehouse tag. Partially-implements: blueprint port-kilo Change-Id: I66b2c39abc55c0f47152dd90e696fc46b9c58f50
19 lines
498 B
Docker
19 lines
498 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
# Install packages
|
|
# TODO check if hostname pkg is needed.
|
|
RUN yum -y install mariadb \
|
|
mariadb-server \
|
|
MySQL-python \
|
|
hostname \
|
|
&& yum clean all
|
|
|
|
# Add mysql configuration scripts
|
|
ADD config-mysql.sh /opt/kolla/config-mysql.sh
|
|
ADD mysql-entrypoint.sh /opt/kolla/mysql-entrypoint.sh
|
|
|
|
# start mysql
|
|
ENTRYPOINT ["/opt/kolla/mysql-entrypoint.sh"]
|
|
CMD ["mysqld_safe"]
|