Adding a Dockerfile for standalone setup

This commit is contained in:
William Budington 2015-03-20 20:29:26 +00:00 committed by Ubuntu
parent 44eb178fd7
commit 039a6d79e6

15
Dockerfile Normal file
View 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" ]