update base images

master
agp8x 2020-06-07 11:59:03 +02:00
parent 12f2698746
commit 57975328f6
5 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ version: "3"
services:
import:
build: importer
image: docker.clkl.de/weather/import:0.3
image: docker.clkl.de/weather/import:0.3.1
environment:
- PYTHONUNBUFFERED=1
- TF_HOST=192.168.2.160

View File

@ -1,4 +1,4 @@
FROM python:3.7-alpine
FROM python:3.8-alpine
WORKDIR /app
@ -6,4 +6,4 @@ COPY . .
RUN pip install -r requirements.txt
CMD ["python3.7", "/app/import.py"]
CMD ["python3.8", "/app/import.py"]

View File

@ -1,2 +1,2 @@
tinkerforge==2.1.16
requests==2.18.4
tinkerforge==2.1.26
requests==2.23.0

View File

@ -2,7 +2,7 @@ version: "2"
services:
test:
build: src
image: docker.clkl.de/weather/snapshot:0.1
image: docker.clkl.de/weather/snapshot:0.2
volumes:
- ./src/:/app
- ./data:/data

View File

@ -1,10 +1,10 @@
FROM alpine:3.8
FROM alpine:3.12
ENV timezone Europe/Berlin
ADD ["requirements.txt", "/"]
RUN apk add --update --no-cache python3 libssl1.0 && \
RUN apk add --update --no-cache python3 libssl1.1 py3-pip && \
apk add --no-cache --virtual .build-deps g++ python3-dev libffi-dev openssl-dev make tzdata && \
cp /usr/share/zoneinfo/$timezone /etc/localtime && \
echo "$timezone" > /etc/timezone && \
pip3 install --upgrade pip && \
pip3 install -r requirements.txt && \
apk del .build-deps
apk del .build-deps