forked from certbot/certbot
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into rm-py26
- Loading branch information
Showing
136 changed files
with
3,765 additions
and
1,190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[pep8] | ||
# E265 block comment should start with '# ' | ||
# E501 line too long (X > 79 characters) | ||
ignore = E265,E501 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# This Dockerfile builds an image for development. | ||
FROM ubuntu:trusty | ||
MAINTAINER Jakub Warmuz <[email protected]> | ||
MAINTAINER William Budington <[email protected]> | ||
MAINTAINER Yan <[email protected]> | ||
|
||
# Note: this only exposes the port to other docker containers. You | ||
# still have to bind to 443@host at runtime, as per the ACME spec. | ||
EXPOSE 443 | ||
|
||
# TODO: make sure --config-dir and --work-dir cannot be changed | ||
# through the CLI (letsencrypt-docker wrapper that uses standalone | ||
# authenticator and text mode only?) | ||
VOLUME /etc/letsencrypt /var/lib/letsencrypt | ||
|
||
WORKDIR /opt/letsencrypt | ||
|
||
# no need to mkdir anything: | ||
# https://docs.docker.com/reference/builder/#copy | ||
# If <dest> doesn't exist, it is created along with all missing | ||
# directories in its path. | ||
|
||
# TODO: Install non-default Python versions for tox. | ||
# TODO: Install Apache/Nginx for plugin development. | ||
COPY bootstrap/ubuntu.sh /opt/letsencrypt/src/ | ||
RUN /opt/letsencrypt/src/ubuntu.sh && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* \ | ||
/tmp/* \ | ||
/var/tmp/* | ||
|
||
# the above is not likely to change, so by putting it further up the | ||
# Dockerfile we make sure we cache as much as possible | ||
|
||
COPY setup.py README.rst CHANGES.rst MANIFEST.in requirements.txt EULA linter_plugin.py tox.cover.sh tox.ini /opt/letsencrypt/src/ | ||
|
||
# all above files are necessary for setup.py, however, package source | ||
# code directory has to be copied separately to a subdirectory... | ||
# https://docs.docker.com/reference/builder/#copy: "If <src> is a | ||
# directory, the entire contents of the directory are copied, | ||
# including filesystem metadata. Note: The directory itself is not | ||
# copied, just its contents." Order again matters, three files are far | ||
# more likely to be cached than the whole project directory | ||
|
||
COPY letsencrypt /opt/letsencrypt/src/letsencrypt/ | ||
COPY acme /opt/letsencrypt/src/acme/ | ||
COPY letsencrypt-apache /opt/letsencrypt/src/letsencrypt-apache/ | ||
COPY letsencrypt-nginx /opt/letsencrypt/src/letsencrypt-nginx/ | ||
COPY tests /opt/letsencrypt/src/tests/ | ||
|
||
RUN virtualenv --no-site-packages -p python2 /opt/letsencrypt/venv && \ | ||
/opt/letsencrypt/venv/bin/pip install \ | ||
-r /opt/letsencrypt/src/requirements.txt \ | ||
-e /opt/letsencrypt/src/acme \ | ||
-e /opt/letsencrypt/src \ | ||
-e /opt/letsencrypt/src/letsencrypt-apache \ | ||
-e /opt/letsencrypt/src/letsencrypt-nginx \ | ||
-e /opt/letsencrypt/src[dev,docs,testing] | ||
|
||
# install in editable mode (-e) to save space: it's not possible to | ||
# "rm -rf /opt/letsencrypt/src" (it's stays in the underlaying image); | ||
# this might also help in debugging: you can "docker run --entrypoint | ||
# bash" and investigate, apply patches, etc. | ||
|
||
ENV PATH /opt/letsencrypt/venv/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Browser-trusted certificates will be available in the coming months. | |
|
||
For more information regarding the status of the project, please see | ||
https://letsencrypt.org. Be sure to checkout the | ||
`Frequently Asked Questions (FAQ) <https://letsencrypt.org/faq/>`_. | ||
`Frequently Asked Questions (FAQ) <https://community.letsencrypt.org/t/frequently-asked-questions-faq/26#topic-title>`_. | ||
|
||
About the Let's Encrypt Client | ||
============================== | ||
|
@@ -116,6 +116,8 @@ Main Website: https://letsencrypt.org/ | |
|
||
IRC Channel: #letsencrypt on `Freenode`_ | ||
|
||
Community: https://community.letsencrypt.org | ||
|
||
Mailing list: `client-dev`_ (to subscribe without a Google account, send an | ||
email to [email protected]) | ||
|
||
|
Oops, something went wrong.