mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
Adding a Dockerfile for standalone setup
This commit is contained in:
parent
44eb178fd7
commit
039a6d79e6
1 changed files with 15 additions and 0 deletions
15
Dockerfile
Normal file
15
Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM ubuntu:trusty
|
||||
|
||||
EXPOSE 443
|
||||
|
||||
RUN apt-get update && apt-get -y install python python-setuptools python-virtualenv python-dev \
|
||||
gcc swig dialog libaugeas0 libssl-dev libffi-dev ca-certificates git && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN cd /opt && git clone https://github.com/letsencrypt/lets-encrypt-preview.git
|
||||
WORKDIR /opt/lets-encrypt-preview
|
||||
RUN \
|
||||
virtualenv --no-site-packages -p python2 venv && \
|
||||
./venv/bin/python setup.py install
|
||||
|
||||
ENTRYPOINT [ "./venv/bin/letsencrypt", "--text" ]
|
||||
Loading…
Reference in a new issue