&& rm -rf /var/lib/apt/lists/*
#######################################################################################
-# End of common prepration
+# End of common preparation
ARG PYTHON3_OSM_COMMON_URL
ARG PYTHON3_OSM_IM_URL
-r /usr/lib/python3/dist-packages/osm_im/requirements.txt \
-r /usr/lib/python3/dist-packages/osm_nbi/requirements.txt
-COPY pyangbind.patch ./
-RUN patch /usr/local/lib/python3.10/dist-packages/pyangbind/lib/yangtypes.py < ./pyangbind.patch
-
#######################################################################################
FROM ubuntu:22.04 as FINAL
COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages /usr/local/lib/python3.10/dist-packages
#######################################################################################
-# End of common prepration
+# End of common preparation
RUN rm -f /etc/apt/apt.conf.d/proxy.conf
# server
ENV OSMNBI_SOCKET_HOST 0.0.0.0
ENV OSMNBI_SOCKET_PORT 9999
-ENV OSMNBI_SERVER_SSL_CERTIFICATE /app/osm_nbi/http/cert.pem
-ENV OSMNBI_SERVER_SSL_PRIVATE_KEY /app/osm_nbi/http/privkey.pem
# storage
ENV OSMNBI_STORAGE_PATH /app/storage
# database