Fix bug 1633 - Pinning packages to major version
Change-Id: Iea7fd8ebfd7de5033a2ff0197a1a5f1bc53f48b4
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
diff --git a/docker/RO/Dockerfile b/docker/RO/Dockerfile
index fbb191a..8dbba7e 100644
--- a/docker/RO/Dockerfile
+++ b/docker/RO/Dockerfile
@@ -20,13 +20,13 @@
RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
DEBIAN_FRONTEND=noninteractive apt-get --yes install \
- gcc=4:7.4.0-1ubuntu2.3 \
- python3=3.6.7-1~18.04 \
- python3-dev=3.6.7-1~18.04 \
- python3-setuptools=39.0.1-2 \
- curl=7.58.0-2ubuntu3.14 \
- genisoimage=9:1.1.11-3ubuntu2 \
- netbase=5.4 && \
+ gcc=4:7.4.* \
+ python3=3.6.* \
+ python3-dev=3.6.* \
+ python3-setuptools=39.0.* \
+ curl=7.58.* \
+ genisoimage=9:1.1.* \
+ netbase=5.* && \
python3 -m easy_install pip==21.0.1
ARG PYTHON3_OSM_COMMON_URL
@@ -81,7 +81,7 @@
FROM ubuntu:18.04
RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
- DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.6.7-1~18.04
+ DEBIAN_FRONTEND=noninteractive apt-get --yes install python3-minimal=3.6.*
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