mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 16:19:13 +02:00
upgrade pip and setuptools before installing packages (#4378)
This commit is contained in:
+3
-2
@@ -51,6 +51,8 @@ COPY certbot-compatibility-test /opt/certbot/src/certbot-compatibility-test/
|
|||||||
COPY tests /opt/certbot/src/tests/
|
COPY tests /opt/certbot/src/tests/
|
||||||
|
|
||||||
RUN virtualenv --no-site-packages -p python2 /opt/certbot/venv && \
|
RUN virtualenv --no-site-packages -p python2 /opt/certbot/venv && \
|
||||||
|
/opt/certbot/venv/bin/pip install -U pip && \
|
||||||
|
/opt/certbot/venv/bin/pip install -U setuptools && \
|
||||||
/opt/certbot/venv/bin/pip install \
|
/opt/certbot/venv/bin/pip install \
|
||||||
-e /opt/certbot/src/acme \
|
-e /opt/certbot/src/acme \
|
||||||
-e /opt/certbot/src \
|
-e /opt/certbot/src \
|
||||||
@@ -58,8 +60,7 @@ RUN virtualenv --no-site-packages -p python2 /opt/certbot/venv && \
|
|||||||
-e /opt/certbot/src/certbot-nginx \
|
-e /opt/certbot/src/certbot-nginx \
|
||||||
-e /opt/certbot/src/letshelp-certbot \
|
-e /opt/certbot/src/letshelp-certbot \
|
||||||
-e /opt/certbot/src/certbot-compatibility-test \
|
-e /opt/certbot/src/certbot-compatibility-test \
|
||||||
-e /opt/certbot/src[dev,docs] && \
|
-e /opt/certbot/src[dev,docs]
|
||||||
/opt/certbot/venv/bin/pip install -U setuptools
|
|
||||||
|
|
||||||
# install in editable mode (-e) to save space: it's not possible to
|
# install in editable mode (-e) to save space: it's not possible to
|
||||||
# "rm -rf /opt/certbot/src" (it's stays in the underlaying image);
|
# "rm -rf /opt/certbot/src" (it's stays in the underlaying image);
|
||||||
|
|||||||
Reference in New Issue
Block a user