From 252044581cef7c09ffa3b32de78f28ab307a2723 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Tue, 24 Jan 2017 21:08:10 -0800 Subject: [PATCH] Cleanup fixes --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 57eed46..b566c1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,12 @@ VOLUME /etc/letsencrypt EXPOSE 80 EXPOSE 443 -RUN apt update && apt install -y cron python python-dev python-pip libffi-dev libssl-dev +#RUN apt update && apt install -y cron python python-dev python-pip libffi-dev libssl-dev +#RUN pip install -U cffi certbot +RUN apt update && apt install -y cron python python-dev libffi6 libffi-dev libssl1.0.0 libssl-dev curl build-essential +RUN curl -L 'https://bootstrap.pypa.io/get-pip.py' | python RUN pip install -U cffi certbot +RUN apt remove -y python-dev build-essential libffi-dev libssl-dev curl && apt-get autoremove -y && apt-get clean # Copy in cron job and scripts for certbot COPY ./crontab /etc/cron.d/certbot