Switch keystone image builds

Change-Id: I7a0276fc7dcfa4536ddfae5ff19151d2d5e24608
This commit is contained in:
Mohammed Naser 2020-07-21 16:17:47 -04:00
parent 1e55b9c28b
commit e34af8177e
3 changed files with 10 additions and 16 deletions

View File

@ -13,21 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-builder as builder
COPY bindep.txt /tmp/src/bindep.txt
RUN apt update && apt -y install git
ADD https://releases.openstack.org/constraints/upper/ussuri /tmp/src/upper-constraints.txt
RUN assemble git+https://opendev.org/openstack/keystone@stable/ussuri \
msgpack===0.6.1 \
PyMySQL \
python-memcached
FROM vexxhost/python-builder AS builder
FROM vexxhost/python-base
FROM docker.io/opendevorg/uwsgi-base
COPY --from=builder /output/ /output
RUN apt update && apt -y install git && \
/output/install-from-bindep && \
apt -y purge git && apt clean all
EXPOSE 5000
ENV UWSGI_HTTP_SOCKET=:5000 \
UWSGI_WSGI_FILE=/usr/local/bin/keystone-wsgi-public
CMD ["/usr/local/bin/uwsgi","--ini","/etc/uwsgi/uwsgi.ini"]
ENV UWSGI_HTTP_SOCKET=:5000 UWSGI_WSGI_FILE=/usr/local/bin/keystone-wsgi-public
CMD ["/usr/local/bin/uwsgi", "--ini", "/etc/uwsgi/uwsgi.ini"]

View File

@ -0,0 +1,2 @@
git+https://opendev.org/openstack/keystone@stable/ussuri
--constraint https://releases.openstack.org/constraints/upper/ussuri

View File

@ -0,0 +1,4 @@
uWSGI
keystone
PyMySQL
python-memcached