Skip to content

Commit

Permalink
Uses specified version.
Browse files Browse the repository at this point in the history
  • Loading branch information
youmingdot committed May 28, 2017
1 parent 33ec281 commit 578101a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions 0.14/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ FROM cogset/cron:latest

MAINTAINER Cogset <[email protected]>

ENV LETS_ENCRYPT_VERSION v0.14.2

# Install
RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates python3 \
&& git clone https://github.com/letsencrypt/letsencrypt /usr/local/letsencrypt \
&& apt-get install -y --no-install-recommends wget git ca-certificates python3 \
&& wget -O letsencrypt.tar.gz "https://github.com/certbot/certbot/archive/$LETS_ENCRYPT_VERSION.tar.gz" \
&& mkdir -p /usr/local/letsencrypt \
&& tar -xzf letsencrypt.tar.gz -C /usr/local/letsencrypt --strip-components=1 \
&& rm letsencrypt.tar.gz \
&& ln -s /usr/local/letsencrypt/letsencrypt-auto /usr/bin/letsencrypt-auto \
&& letsencrypt-auto certificates \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 578101a

Please sign in to comment.