From 83019c66e13f165188bd84d17d0e5b26931e78b0 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Mon, 3 Jun 2019 09:06:27 +0200 Subject: [PATCH] update to debian 9 --- Dockerfile | 3 ++- start.py | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45b00d8..65ae311 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM debian8_python3 +FROM debian:9 MAINTAINER Joachim Lusiardi RUN apt-get update; \ apt-get install -y \ + python3-pip \ git \ haproxy; \ git clone https://github.com/letsencrypt/letsencrypt ;\ diff --git a/start.py b/start.py index 4abb9d7..433e23b 100644 --- a/start.py +++ b/start.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3.4 +#!/usr/bin/env python3 import os import json @@ -147,7 +147,6 @@ def cert_watcher(): ssl_active = ssl_possible() and is_haproxy_running() cert_file_hash = hash_cert_file() while True: - logging.info('ping') time.sleep(delay) if not ssl_active: