From 2efc13f848654cbb2ea5b00f6b3a3ea8b089abd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Tue, 14 Nov 2017 09:38:34 -0500 Subject: [PATCH] Test --- Dockerfile | 5 +++-- check_update.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 98b103940..1f21c71aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ -FROM debian +FROM debian:buster EXPOSE 6767 VOLUME /tv # Update -RUN apt-get install build-base python-dev py2-pip py-setuptools jpeg-dev zlib-dev git libgit2-dev +RUN apt-get update +RUN apt-get install -y build-essential python-dev python-pip python-setuptools libjpeg-dev zlib1g-dev git libgit2-dev libffi-dev # Get application source from Github RUN git clone -b master --single-branch https://github.com/morpheus65535/bazarr.git /bazarr diff --git a/check_update.py b/check_update.py index 1b39ec551..079110077 100644 --- a/check_update.py +++ b/check_update.py @@ -3,7 +3,7 @@ from get_general_settings import * import os import pygit2 -current_working_directory = os.getcwd() +current_working_directory = os.path.dirname(__file__) repository_path = pygit2.discover_repository(current_working_directory) local_repo = pygit2.Repository(repository_path)