Updates taglogger to working state

This commit is contained in:
Patrick McDonagh
2017-05-09 15:19:46 -05:00
parent 613f92156f
commit 064be4fc73
3 changed files with 153 additions and 62 deletions

View File

@@ -1,9 +1,9 @@
FROM armv7/armhf-ubuntu
FROM resin/rpi-raspbian:jessie
RUN apt-get -y update
COPY mysql-install.sh /tmp/mysql-install.sh
RUN chmod +x /tmp/mysql-install.sh && /tmp/mysql-install.sh
RUN apt-get install -y python python-pip git libffi-dev libssl-dev
RUN apt-get install -y python python-dev python-pip git libffi-dev libssl-dev gcc
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /root/tag-logger
@@ -15,6 +15,7 @@ RUN cd /tmp/mysql && python setup.py install && cd ~
COPY startup.sh /root/startup.sh
RUN chmod +x /root/startup.sh
RUN pip install --upgrade pip setuptools
RUN pip install flask flask-restless flask-sqlalchemy pyopenssl
RUN apt-get clean