Add stable/train

Change-Id: Iec4535ca7938322be6d914e007d36a8d93ea36e1
This commit is contained in:
Mohammed Naser 2020-05-04 15:59:38 -04:00
parent 97501c4460
commit 97a04dacb6
1 changed files with 5 additions and 2 deletions

View File

@ -15,14 +15,17 @@
FROM docker.io/opendevorg/python-builder as builder
COPY bindep.txt /tmp/src/bindep.txt
RUN assemble keystone==16.0.0 \
RUN apt update && apt -y install git
RUN assemble git+https://opendev.org/openstack/keystone@stable/train \
msgpack===0.6.1 \
PyMySQL \
python-memcached
FROM docker.io/opendevorg/uwsgi-base
COPY --from=builder /output/ /output
RUN /output/install-from-bindep
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