Skip to content

Commit a5f2675

Browse files
committed
added logging versions in build log -- versions for both Python and PIP
1 parent b564f31 commit a5f2675

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

3.10-rc/alpine3.12/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,7 @@ RUN set -ex; \
138138
\) -exec rm -rf '{}' +; \
139139
rm -f get-pip.py
140140

141+
RUN echo -e "Current Python version is $( python -V ) \n(found in $( which python ))." && \
142+
echo -e "Current PIP version is $( pip -V ) \n(found in $( which pip ))."
143+
141144
CMD ["python3"]

3.6/alpine3.12/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,7 @@ RUN set -ex; \
138138
\) -exec rm -rf '{}' +; \
139139
rm -f get-pip.py
140140

141+
RUN echo -e "Current Python version is $( python -V ) \n(found in $( which python ))." && \
142+
echo -e "Current PIP version is $( pip -V ) \n(found in $( which pip ))."
143+
141144
CMD ["python3"]

3.7/alpine3.12/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,7 @@ RUN set -ex; \
138138
\) -exec rm -rf '{}' +; \
139139
rm -f get-pip.py
140140

141+
RUN echo -e "Current Python version is $( python -V ) \n(found in $( which python ))." && \
142+
echo -e "Current PIP version is $( pip -V ) \n(found in $( which pip ))."
143+
141144
CMD ["python3"]

3.8/alpine3.12/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,7 @@ RUN set -ex; \
138138
\) -exec rm -rf '{}' +; \
139139
rm -f get-pip.py
140140

141+
RUN echo -e "Current Python version is $( python -V ) \n(found in $( which python ))." && \
142+
echo -e "Current PIP version is $( pip -V ) \n(found in $( which pip ))."
143+
141144
CMD ["python3"]

3.9/alpine3.12/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,7 @@ RUN set -ex; \
138138
\) -exec rm -rf '{}' +; \
139139
rm -f get-pip.py
140140

141+
RUN echo -e "Current Python version is $( python -V ) \n(found in $( which python ))." && \
142+
echo -e "Current PIP version is $( pip -V ) \n(found in $( which pip ))."
143+
141144
CMD ["python3"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy