From dc8d76991dee1a21d7ad0fa51018846218f6fef7 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Mon, 13 Aug 2018 11:50:48 +0700 Subject: [PATCH] Dockerfile: Update for coala-bears master The Dockerfile automatically started using Python 3.7 when Alpine starting using that has its default python image. coala-bears master does not support Python 3.7 yet. Also a new bear depends on brotli. Related to https://github.com/coala/corobo/issues/496 Related to https://github.com/coala/meta/issues/123 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f8485604..087d6d9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine +FROM python:3.6-alpine ENV BOT_ROOT=/opt/errbot @@ -7,8 +7,11 @@ ADD requirements.txt $BOT_ROOT/requirements.txt RUN apk add --no-cache libffi openssl git \ && apk add --no-cache --virtual .build-deps \ gcc \ + brotli-dev@testing \ libc-dev \ libffi-dev \ + libxml2-dev \ + libxslt-dev \ openssl-dev \ && pip install -r $BOT_ROOT/requirements.txt \ && pip install slackclient python-telegram-bot \