Skip to content

Commit

Permalink
Explicitly add six as a dependency in letsencrypt-auto-source dockerf…
Browse files Browse the repository at this point in the history
…iles (#5808)

* update documentation

* explicitly add six as a dependency in letsencrypt-auto-source dockerfiles

* pin six version
  • Loading branch information
ohemorange authored and bmw committed Mar 29, 2018
1 parent 7630550 commit 5ff7f22
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion letsencrypt-auto-source/Dockerfile.centos6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt-auto-source/Dockerfile.precise
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt-auto-source/Dockerfile.trusty
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion letsencrypt-auto-source/Dockerfile.wheezy
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion letsencrypt-auto-source/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

0 comments on commit 5ff7f22

Please sign in to comment.