
The commit added the support to publish ptp status for v2 API in the notification-service. It also renamed the previously name v0 API to v1 API. Test Plan: Pass: PTP status push notification v2 API Pass: PTP status push notification v1 API Pass: Subscribe/List/Delete subscription in v2 API Pass: Subscribe/List/Delete subscription in v1 API Story: 2010056 Task: 45809 Signed-off-by: Teresa Ho <teresa.ho@windriver.com> Change-Id: Id5a1ff955eade59d68b6bcadfea4ffe6ed1567cd
24 lines
641 B
Docker
24 lines
641 B
Docker
ARG BASE
|
|
FROM ${BASE}
|
|
|
|
ARG STX_REPO_FILE=/etc/yum.repos.d/stx.repo
|
|
|
|
ENV KUBE_LATEST_VERSION="v1.23.1"
|
|
|
|
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 pygtail \
|
|
&& pip3 install oslo-config \
|
|
&& pip3 install oslo-messaging \
|
|
&& pip3 install WSME
|
|
|
|
WORKDIR /opt/
|
|
COPY ./ptptrackingfunction /opt/ptptrackingfunction
|
|
RUN cd /opt/ptptrackingfunction && python3 setup.py develop
|
|
|
|
CMD ["bash"]
|