From 996b2e168e51a749198004ad72820840127d0b46 Mon Sep 17 00:00:00 2001 From: Tom Mitchell Date: Sat, 20 Jul 2019 19:50:58 -0400 Subject: [PATCH] 3.9.2 --- Dockerfile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4555a44..9c2db7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,5 @@ -#FROM debian:jessie -#FROM jgoerzen/debian-base-standard -#FROM jgoerzen/debian-base-security:buster FROM phusion/baseimage:0.11 -MAINTAINER Tom Mitchell - ENV VERSION=3.9.2 ENV HOME=/home/weewx @@ -12,13 +7,16 @@ RUN apt-get -y update RUN apt-get install -y apt-utils +ENV TZ=America/New_York +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + # debian, ubuntu, mint, raspbian # for systems that do not have python 2 installed (for example, ubuntu 18.04 and later): RUN apt-get install -y python python-pil python-configobj python-cheetah python-serial python-usb RUN apt-get install -y default-mysql-client python-mysqldb RUN apt-get install -y ftp python-dev python-pip python-setuptools -RUN apt-get install -y sqlite3 curl python-pip rsync ssh git +RUN apt-get install -y sqlite3 curl python-pip rsync ssh tzdata RUN pip install pyephem @@ -27,9 +25,6 @@ RUN pip install pyephem ADD dist/weewx-$VERSION /tmp/ RUN cd /tmp && ./setup.py build && ./setup.py install --no-prompt -ENV TZ=America/New_York -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone - # add all confs and extras to the install # based on CONF env, copy the dirs to the install using CMD cp