Updating Dockerfile.local to align latest Bug-1849 47/11547/1
authorpreethika.p <preethika.p@tataelxsi.co.in>
Tue, 25 Jan 2022 05:09:58 +0000 (05:09 +0000)
committerpreethika.p <preethika.p@tataelxsi.co.in>
Tue, 25 Jan 2022 05:09:58 +0000 (05:09 +0000)
Change-Id: I188fa8e7cbbd3ae5a02523c7ba68ffe2af870bb8
Signed-off-by: preethika.p <preethika.p@tataelxsi.co.in>
Dockerfile.local

index 6a6bef5..36a53ee 100644 (file)
@@ -14,7 +14,7 @@
 # under the License.
 ############################################################################
 
 # under the License.
 ############################################################################
 
-FROM ubuntu:18.04 as INSTALL
+FROM ubuntu:20.04 as INSTALL
 
 WORKDIR /build
 
 
 WORKDIR /build
 
@@ -82,13 +82,13 @@ RUN python3 -m build /build/RO-SDN-juniper_contrail && \
 RUN python3 -m build /build/RO-VIM-gcp && \
     python3 -m pip install /build/RO-VIM-gcp/dist/*.whl
 
 RUN python3 -m build /build/RO-VIM-gcp && \
     python3 -m pip install /build/RO-VIM-gcp/dist/*.whl
 
-FROM ubuntu:18.04
+FROM ubuntu:20.04
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal
 
 COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal
 
 COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
-COPY --from=INSTALL /usr/local/lib/python3.6/dist-packages  /usr/local/lib/python3.6/dist-packages
+COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages  /usr/local/lib/python3.8/dist-packages
 COPY --from=INSTALL /usr/bin/genisoimage /usr/bin/genisoimage
 COPY --from=INSTALL /etc/protocols /etc/protocols
 
 COPY --from=INSTALL /usr/bin/genisoimage /usr/bin/genisoimage
 COPY --from=INSTALL /etc/protocols /etc/protocols