mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Explicitly add six as a dependency in letsencrypt-auto-source dockerfiles (#5808)
* update documentation * explicitly add six as a dependency in letsencrypt-auto-source dockerfiles * pin six version
This commit is contained in:
@@ -11,7 +11,7 @@ RUN yum install -y python-pip sudo
|
||||
COPY ./pieces/pipstrap.py /opt
|
||||
RUN /opt/pipstrap.py
|
||||
# Pin pytest version for increased stability
|
||||
RUN pip install pytest==3.2.5
|
||||
RUN pip install pytest==3.2.5 six==1.10.0
|
||||
|
||||
# Add an unprivileged user:
|
||||
RUN useradd --create-home --home-dir /home/lea --shell /bin/bash --groups wheel --uid 1000 lea
|
||||
|
||||
@@ -15,7 +15,7 @@ RUN apt-get update && \
|
||||
COPY ./pieces/pipstrap.py /opt
|
||||
RUN /opt/pipstrap.py
|
||||
# Pin pytest version for increased stability
|
||||
RUN pip install pytest==3.2.5
|
||||
RUN pip install pytest==3.2.5 six==1.10.0
|
||||
|
||||
# Let that user sudo:
|
||||
RUN sed -i.bkp -e \
|
||||
|
||||
@@ -19,7 +19,7 @@ RUN apt-get update && \
|
||||
COPY ./pieces/pipstrap.py /opt
|
||||
RUN /opt/pipstrap.py
|
||||
# Pin pytest version for increased stability
|
||||
RUN pip install pytest==3.2.5
|
||||
RUN pip install pytest==3.2.5 six==1.10.0
|
||||
|
||||
RUN mkdir -p /home/lea/certbot
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ RUN apt-get update && \
|
||||
COPY ./pieces/pipstrap.py /opt
|
||||
RUN /opt/pipstrap.py
|
||||
# Pin pytest version for increased stability
|
||||
RUN pip install pytest==3.2.5
|
||||
RUN pip install pytest==3.2.5 six==1.10.0
|
||||
|
||||
# Let that user sudo:
|
||||
RUN sed -i.bkp -e \
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
Run these locally by saying... ::
|
||||
|
||||
./build.py && docker build -t lea . && docker run --rm -t -i lea
|
||||
./build.py && docker build -t lea . -f Dockerfile.<distro> && docker run --rm -t -i lea
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user