Simplify copy of libmd0 library in POL dockerfile
[osm/devops.git] / docker / POL / Dockerfile
index f264fba..9fb1217 100644 (file)
@@ -71,10 +71,6 @@ COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages  /usr/local/lib/pyth
 
 #######################################################################################
 # End of common prepration
-RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
-    DEBIAN_FRONTEND=noninteractive apt-get --yes install \
-    libmd0 \
-    && rm -rf /var/lib/apt/lists/*
 
 COPY --from=INSTALL /usr/bin/osm* /usr/bin/
 COPY --from=INSTALL /usr/bin/mysql /usr/bin/
@@ -82,6 +78,7 @@ COPY --from=INSTALL /usr/bin/mysqladmin /usr/bin/
 COPY --from=INSTALL /usr/bin/mysqlshow /usr/bin/
 COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libedit.so.2 /usr/lib/x86_64-linux-gnu/
 COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libbsd.so.0 /usr/lib/x86_64-linux-gnu/
+COPY --from=INSTALL /usr/lib/x86_64-linux-gnu/libmd.so.0 /usr/lib/x86_64-linux-gnu/
 
 COPY scripts/ /app/osm_pol/scripts/