mirror of
https://github.com/Screenly/Anthias.git
synced 2026-05-03 12:55:39 -04:00
31 lines
718 B
Docker
31 lines
718 B
Docker
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
|
|
|
|
RUN apt-get update && \
|
|
apt-get -y install --no-install-recommends \
|
|
build-essential \
|
|
curl \
|
|
git-core \
|
|
libffi-dev \
|
|
libssl-dev \
|
|
net-tools \
|
|
omxplayer \
|
|
psmisc \
|
|
python-dev \
|
|
python-gobject \
|
|
python-pip \
|
|
python-setuptools \
|
|
python-pil \
|
|
python-simplejson \
|
|
libraspberrypi0 \
|
|
ifupdown \
|
|
sqlite3 && \
|
|
apt-get clean
|
|
|
|
# Install Python requirements
|
|
ADD requirements/requirements.txt /tmp/requirements.txt
|
|
RUN pip install -U -r /tmp/requirements.txt
|
|
|
|
COPY . /tmp/screenly
|
|
|
|
CMD ["bash", "/tmp/screenly/bin/start_balena.sh"]
|