Pip Standardization Update 86/10586/1
authorbeierlm <mark.beierl@canonical.com>
Wed, 7 Apr 2021 09:25:10 +0000 (05:25 -0400)
committerbeierlm <mark.beierl@canonical.com>
Wed, 7 Apr 2021 09:25:10 +0000 (05:25 -0400)
Adds mysqladmin to POL for startup
Brings osm binary to final layer in tests

Change-Id: I0418be0dc224fbd846a5ea694e9cf3e97ffc9954
Signed-off-by: beierlm <mark.beierl@canonical.com>
docker/POL/Dockerfile
docker/tests/Dockerfile

index d6f460b..6f02afe 100644 (file)
@@ -31,6 +31,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     python3-dev=3.8.2-0ubuntu2 && \
     python3 -m easy_install pip==21.0.1
 
+RUN DEBIAN_FRONTEND=noninteractive apt-get --yes install \
+    mysql-client-core-8.0=8.0.23-0ubuntu0.20.04.1
+
 ARG PYTHON3_OSM_COMMON_URL
 ARG PYTHON3_OSM_POLICY_MODULE_URL
 
index 66da9fa..33dc63b 100644 (file)
@@ -62,6 +62,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
 
 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/bin/osm /usr/bin/osm
 
 COPY --from=INSTALL /usr/share/osm-tests/robot-systest /robot-systest
 COPY --from=INSTALL /usr/share/osm-tests/charm.sh /usr/sbin/charm