27 lines
712 B
Docker
27 lines
712 B
Docker
# A container for buildbot
|
|
FROM ubuntu:bionic AS kivy
|
|
# FROM ubuntu:20.04 AS buildbot-bionic
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get -y install sudo
|
|
|
|
RUN apt-get install -yq python-setuptools \
|
|
python-setuptools libssl-dev libpq-dev python-prctl python-dev \
|
|
python-virtualenv python-pip virtualenv \
|
|
libjpeg-dev zlib1g-dev python3-dev \
|
|
python3-virtualenv \
|
|
python3-pip \
|
|
wget \
|
|
build-essential libcap-dev libmtdev-dev xvfb xclip git python3-opencv
|
|
|
|
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
|
|
|
RUN pip3 install Cython Pillow pyzbar telenium
|
|
|
|
RUN pip3 install --upgrade setuptools pip
|
|
|
|
RUN pip3 install -e git+https://github.com/kivymd/KivyMD#egg=kivymd
|