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: services:
import: import:
build: importer build: importer
image: docker.clkl.de/weather/import:0.3 image: docker.clkl.de/weather/import:0.3.1
environment: environment:
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
- TF_HOST=192.168.2.160 - TF_HOST=192.168.2.160

View File

@ -1,4 +1,4 @@
FROM python:3.7-alpine FROM python:3.8-alpine
WORKDIR /app WORKDIR /app
@ -6,4 +6,4 @@ COPY . .
RUN pip install -r requirements.txt 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 tinkerforge==2.1.26
requests==2.18.4 requests==2.23.0

View File

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

View File

@ -1,7 +1,7 @@
FROM alpine:3.8 FROM alpine:3.12
ENV timezone Europe/Berlin ENV timezone Europe/Berlin
ADD ["requirements.txt", "/"] 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 && \ apk add --no-cache --virtual .build-deps g++ python3-dev libffi-dev openssl-dev make tzdata && \
cp /usr/share/zoneinfo/$timezone /etc/localtime && \ cp /usr/share/zoneinfo/$timezone /etc/localtime && \
echo "$timezone" > /etc/timezone && \ echo "$timezone" > /etc/timezone && \