Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Add pins in setup.py that match requirements.txt. Bump Alpine to 3.16…
Browse files Browse the repository at this point in the history
…. Clean up dockerfile
  • Loading branch information
myoung34 committed Jun 6, 2022
1 parent 3111908 commit 38b0d93
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM alpine:3.15
FROM alpine:3.16

LABEL maintainer="[email protected]"

RUN apk add -U --no-cache python3 python3-dev alpine-sdk bluez-dev py3-setuptools
RUN apk add -U --no-cache python3 bluez-dev && \
apk add --no-cache --virtual .build-deps py3-setuptools py3-pip python3-dev alpine-sdk && \
pip3 --no-cache-dir install -U setuptools pip

COPY . /src
WORKDIR /src
RUN python3 setup.py install && \
apk del alpine-sdk
apk del .build-deps

COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
Expand Down
25 changes: 13 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,21 @@
version='0.11.0',
packages=find_packages(exclude=['tests*']),
install_requires=[
'Click',
'datadog',
'influxdb-client==1.12.0',
'Jinja2>=2.11.3',
'prometheus_client==0.8.0',
'pybluez',
'requests',
'click==7.1.2',
'datadog==0.34.1',
'influxdb-client==1.17.0',
'jinja2==3.0.1',
'prometheus-client==0.8.0',
'pybluez==0.22',
'requests==2.25.1',
'urllib3>=1.26.5',
'google-auth==1.20.1',
'google-auth==1.30.1',
'google-api-core==1.20.1',
'google-api-python-client==1.10.0',
'google-auth-httplib2',
'google-auth-oauthlib',
'oauth2client',
'google-api-python-client==1.11.0',
'google-auth-httplib2==0.0.4',
'google-auth-oauthlib==0.4.4',
'oauth2client==4.1.3',
'protobuf==3.17.2',
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 38b0d93

Please sign in to comment.