From 8f9ae9bacb1ca1f511d49c5640ffcfd484c109fa Mon Sep 17 00:00:00 2001 From: Marcus Young Date: Fri, 31 Jul 2020 19:09:33 -0500 Subject: [PATCH] Hotfix: fix docker container --- CHANGELOG | 15 +++++++++++++++ Dockerfile | 7 ++++--- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 1adbe5e..386810a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,18 @@ +## 0.5.2 + +IMPROVEMENTS: + + * Hotfix: fix dockerfile, something in python-alpine is broken on HCI + + +## 0.5.1 + +IMPROVEMENTS: + + * Hotfix: commit sqlite transactions: + https://github.com/myoung34/tilty/pull/19 + + ## 0.5.0 IMPROVEMENTS: diff --git a/Dockerfile b/Dockerfile index ed6f6aa..d472ff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ -FROM python:3.6-alpine +FROM alpine:3.12.0 + LABEL maintainer="3vilpenguin@gmail.com" -RUN apk add -U --no-cache alpine-sdk bluez-dev +RUN apk add -U --no-cache python3 python3-dev alpine-sdk bluez-dev py3-setuptools COPY . /src WORKDIR /src -RUN python setup.py install +RUN python3 setup.py install COPY entrypoint.sh / RUN chmod +x /entrypoint.sh diff --git a/pyproject.toml b/pyproject.toml index eefc487..83e7f58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Tilty" -version = "0.5.1" +version = "0.5.2" description = "A pluggable system to receive and transmit bluetooth events from the Tilt Hydrometer" authors = ["Marcus Young <3vilpenguin@gmail.com>"] license = "MIT" diff --git a/setup.py b/setup.py index 2866200..8b6263d 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ long_description=long_description, long_description_content_type="text/markdown", py_modules=['tilty', 'blescan'], - version='0.5.1', + version='0.5.2', packages=find_packages(exclude=['tests*']), install_requires=[ 'Click',