545e6b6bb0
Story: 2008529 Task: 41688 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: Ib276520605cc624a9976f804a1721ba2c5909403
23 lines
572 B
Docker
23 lines
572 B
Docker
ARG BASE
|
|
FROM ${BASE}
|
|
|
|
ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo
|
|
|
|
ENV KUBE_LATEST_VERSION="v1.18.3"
|
|
|
|
RUN set -ex ;\
|
|
yum install --disablerepo=* \
|
|
$(grep '^name=' ${STX_REPO_FILE} | awk -F '=' '{printf "--enablerepo=" $2 " "}') \
|
|
-y \
|
|
gcc python3-devel python3-pip \
|
|
&& pip3 install --user pecan \
|
|
&& pip3 install oslo-config \
|
|
&& pip3 install oslo-messaging \
|
|
&& pip3 install WSME
|
|
|
|
WORKDIR /opt/
|
|
COPY ./locationservice /opt/locationservice
|
|
RUN cd /opt/locationservice && python3 setup.py develop
|
|
|
|
CMD ["bash"]
|