From 426864711dc07b37426d6c4177b57ccc82f4d8a2 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 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f8485604..6ee67203 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3-alpine +FROM python:3.6-alpine ENV BOT_ROOT=/opt/errbot @@ -6,9 +6,13 @@ ADD requirements.txt $BOT_ROOT/requirements.txt RUN apk add --no-cache libffi openssl git \ && apk add --no-cache --virtual .build-deps \ + --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ \ gcc \ + brotli-dev \ libc-dev \ libffi-dev \ + libxml2-dev \ + libxslt-dev \ openssl-dev \ && pip install -r $BOT_ROOT/requirements.txt \ && pip install slackclient python-telegram-bot \