Fix minor typo in Dockerfiles
[osm/devops.git] / docker / POL / Dockerfile
index f264fba..2216338 100644 (file)
@@ -33,7 +33,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     && rm -rf /var/lib/apt/lists/*
 
 #######################################################################################
-# End of common prepration
+# End of common preparation
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
     DEBIAN_FRONTEND=noninteractive apt-get --yes install \
@@ -70,11 +70,7 @@ COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-package
 COPY --from=INSTALL /usr/local/lib/python3.10/dist-packages  /usr/local/lib/python3.10/dist-packages
 
 #######################################################################################
-# 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/*
+# End of common preparation
 
 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/