File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,15 +26,16 @@ RUN \
2626 LDAP_INSTALL="python-ldap==${LDAP_VERSION}" ; \
2727 fi && \
2828 pip install -U --no-cache-dir \
29- pip && \
30- pip install -U --no-cache-dir \
31- cryptography \
32- ${LDAP_INSTALL} && \
29+ pip && \
30+ pip install -U \
31+ cryptography \
32+ ${LDAP_INSTALL} && \
3333 echo "**** cleanup ****" && \
3434 apk del --purge \
35- build-dependencies && \
35+ build-dependencies && \
3636 rm -rf \
37- /tmp/*
37+ /tmp/* \
38+ /root/.cache/pip
3839
3940# copy local files
4041COPY root/ /
Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ RUN \
2929 LDAP_INSTALL="python-ldap==${LDAP_VERSION}"; \
3030 fi && \
3131 pip install -U --no-cache-dir \
32- pip && \
33- pip install -U --no-cache-dir \
34- cryptography \
35- ${LDAP_INSTALL} && \
32+ pip && \
33+ pip install -U \
34+ cryptography \
35+ ${LDAP_INSTALL} && \
3636 echo "**** cleanup ****" && \
3737 apk del --purge \
38- build-dependencies && \
38+ build-dependencies && \
3939 rm -rf \
40- /tmp/*
40+ /tmp/* \
41+ /root/.cache/pip
4142
4243# copy local files
4344COPY root/ /
Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ RUN \
2929 LDAP_INSTALL="python-ldap==${LDAP_VERSION}"; \
3030 fi && \
3131 pip install -U --no-cache-dir \
32- pip && \
33- pip install -U --no-cache-dir \
34- cryptography \
35- ${LDAP_INSTALL} && \
32+ pip && \
33+ pip install -U \
34+ cryptography \
35+ ${LDAP_INSTALL} && \
3636 echo "**** cleanup ****" && \
3737 apk del --purge \
38- build-dependencies && \
38+ build-dependencies && \
3939 rm -rf \
40- /tmp/*
40+ /tmp/* \
41+ /root/.cache/pip
4142
4243# copy local files
4344COPY root/ /
You can’t perform that action at this time.
0 commit comments