Jingkui Wang | 4dddd74 | 2018-05-01 14:45:31 -0700 | [diff] [blame^] | 1 | # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | FROM debian:9.4 |
| 6 | MAINTAINER Jingkui Wang (jkwang@google.com) |
| 7 | |
| 8 | ADD ./ /touch_firmware_test |
| 9 | WORKDIR /touch_firmware_test |
| 10 | |
| 11 | RUN apt-get update |
| 12 | RUN apt-get install -qy gcc |
| 13 | RUN apt-get install -qy git |
| 14 | RUN apt-get install -qy python |
| 15 | RUN apt-get install -qy python-tk |
| 16 | RUN apt-get install -qy python-dev |
| 17 | RUN apt-get install -qy curl |
| 18 | RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py |
| 19 | RUN python get-pip.py |
| 20 | RUN apt-get install -qy adb |
| 21 | RUN pip install -r requirements.txt |
| 22 | |
| 23 | ENV TOUCH_REPORT_OUTPUT /output |
| 24 | EXPOSE 8080 |