Adding in stuff to hopefully get this to run

pull/24/head
Christopher Usher 6 years ago
parent 013ad65c68
commit 1fcd9b5b36

@ -1,6 +1,6 @@
FROM alpine:3.7
# dependencies needed for compiling c extensions
RUN apk --update add py2-pip
RUN apk --update add py2-pip gcc python-dev musl-dev
# Install common lib first as it changes less
COPY common /tmp/common

@ -0,0 +1,14 @@
import gevent.monkey
gevent.monkey.patch_all()
import logging
import argh
from backfiller.main import main
LOG_FORMAT = "[%(asctime)s] %(levelname)8s %(name)s(%(module)s:%(lineno)d): %(message)s"
logging.basicConfig(level=logging.INFO, format=LOG_FORMAT)
argh.dispatch_command(main)

@ -8,7 +8,7 @@ set -eu
# Pass PUSH=true to also push the resulting images, or PUSH=latest to push them as :latest tag
# The different images we can build
COMPONENTS=(downloader restreamer)
COMPONENTS=(downloader restreamer backfiller)
# Define push if not already defined
PUSH=${PUSH:-}

Loading…
Cancel
Save