Loading src/device/Dockerfile +2 −0 Original line number Diff line number Diff line Loading @@ -98,10 +98,12 @@ RUN mkdir -p /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig RUN mkdir -p /tmp/openconfig RUN git clone https://github.com/openconfig/public.git /tmp/openconfig RUN git fetch WORKDIR /tmp/openconfig RUN git checkout v4.4.0 RUN mv /tmp/openconfig/release /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN mv /tmp/openconfig/third_party /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN rm -rf /tmp/openconfig WORKDIR /var/teraflow # Start the service ENTRYPOINT ["python", "-m", "device.service"] Loading
src/device/Dockerfile +2 −0 Original line number Diff line number Diff line Loading @@ -98,10 +98,12 @@ RUN mkdir -p /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig RUN mkdir -p /tmp/openconfig RUN git clone https://github.com/openconfig/public.git /tmp/openconfig RUN git fetch WORKDIR /tmp/openconfig RUN git checkout v4.4.0 RUN mv /tmp/openconfig/release /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN mv /tmp/openconfig/third_party /var/teraflow/device/service/drivers/gnmi_openconfig/git/openconfig/public RUN rm -rf /tmp/openconfig WORKDIR /var/teraflow # Start the service ENTRYPOINT ["python", "-m", "device.service"]