File tree Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Expand file tree Collapse file tree 3 files changed +21
-18
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,16 @@ RUN \
26
26
LDAP_INSTALL="python-ldap==${LDAP_VERSION}" ; \
27
27
fi && \
28
28
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} && \
33
33
echo "**** cleanup ****" && \
34
34
apk del --purge \
35
- build-dependencies && \
35
+ build-dependencies && \
36
36
rm -rf \
37
- /tmp/*
37
+ /tmp/* \
38
+ /root/.cache/pip
38
39
39
40
# copy local files
40
41
COPY root/ /
Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ RUN \
29
29
LDAP_INSTALL="python-ldap==${LDAP_VERSION}"; \
30
30
fi && \
31
31
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} && \
36
36
echo "**** cleanup ****" && \
37
37
apk del --purge \
38
- build-dependencies && \
38
+ build-dependencies && \
39
39
rm -rf \
40
- /tmp/*
40
+ /tmp/* \
41
+ /root/.cache/pip
41
42
42
43
# copy local files
43
44
COPY root/ /
Original file line number Diff line number Diff line change @@ -29,15 +29,16 @@ RUN \
29
29
LDAP_INSTALL="python-ldap==${LDAP_VERSION}"; \
30
30
fi && \
31
31
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} && \
36
36
echo "**** cleanup ****" && \
37
37
apk del --purge \
38
- build-dependencies && \
38
+ build-dependencies && \
39
39
rm -rf \
40
- /tmp/*
40
+ /tmp/* \
41
+ /root/.cache/pip
41
42
42
43
# copy local files
43
44
COPY root/ /
You can’t perform that action at this time.
0 commit comments