Skip to content

Commit

Permalink
3.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdotorg committed Jul 20, 2019
1 parent 2fbec35 commit 996b2e1
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
#FROM debian:jessie
#FROM jgoerzen/debian-base-standard
#FROM jgoerzen/debian-base-security:buster
FROM phusion/baseimage:0.11

MAINTAINER Tom Mitchell <[email protected]>

ENV VERSION=3.9.2
ENV HOME=/home/weewx

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

Expand All @@ -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

Expand Down

0 comments on commit 996b2e1

Please sign in to comment.