Skip to content

Commit

Permalink
Ubuntu base image, should support more achitechtures
Browse files Browse the repository at this point in the history
  • Loading branch information
turbosnute committed May 14, 2020
1 parent 39448eb commit bafa56b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ LABEL MAINTAINER="Øyvind Nilsen <[email protected]>"

# Setup external package-sources
RUN apt-get update && apt-get install -y \
python \
python-dev \
python-setuptools \
python-pip \
python-virtualenv \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
python3-virtualenv \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/*

# RUN pip install setuptools
RUN pip install pytz influxdb
RUN pip3 install pytz influxdb

# Environment vars
ENV PYTHONIOENCODING=utf-8
Expand Down
2 changes: 1 addition & 1 deletion get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ while :
do
date
echo "--- Start Call API"
python netatmo2influxdb.py
python3 netatmo2influxdb.py
RET=$?
if [ ${RET} -ne 0 ];
then
Expand Down

0 comments on commit bafa56b

Please sign in to comment.