anki-connect/tests/docker/2.0.x/Dockerfile

14 lines
286 B
Docker
Raw Normal View History

2017-08-29 04:21:32 +00:00
FROM txgio/anki:2.0.45
2017-08-29 04:21:32 +00:00
RUN apt-get update && \
apt-get install -y xvfb
2017-08-29 04:54:41 +00:00
COPY AnkiConnect.py /data/addons/AnkiConnect.py
2017-08-29 20:19:21 +00:00
COPY tests/docker/2.0.x/prefs.db /data/prefs.db
2017-08-29 20:19:21 +00:00
ADD tests/docker/2.0.x/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
2017-08-29 04:21:32 +00:00
CMD ["anki", "-b", "/data"]