mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-10-18 18:23:41 +00:00
28 lines
538 B
Docker
28 lines
538 B
Docker
FROM clearlinux/mariadb
|
|
MAINTAINER obed.n.munoz@intel.com
|
|
|
|
ARG swupd_args=""
|
|
|
|
RUN swupd update $swupd_args
|
|
RUN swupd bundle-add openstack-identity openstack-python-clients $swupd_args
|
|
RUN rm -rf /var/lib/swupd/*
|
|
|
|
# Keystone
|
|
RUN mkdir /etc/keystone
|
|
COPY keystone.conf /etc/keystone
|
|
|
|
RUN mkdir -p /etc/nginx/ssl
|
|
COPY keystone.wsgi.conf /etc/nginx/
|
|
|
|
COPY bootstrap.sh /usr/bin
|
|
COPY pre-setup.sh /usr/bin
|
|
COPY openrc /root/
|
|
RUN /usr/bin/pre-setup.sh
|
|
|
|
VOLUME /var/lib/mysql
|
|
WORKDIR /root
|
|
CMD '/usr/bin/bootstrap.sh'
|
|
|
|
EXPOSE 5000
|
|
EXPOSE 35357
|