2017-08-29 20:16:06 +00:00
|
|
|
FROM txgio/anki:2.1.0beta14
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 04:21:32 +00:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y xvfb
|
2017-07-06 03:53:54 +00:00
|
|
|
|
2017-08-29 21:16:47 +00:00
|
|
|
COPY AnkiConnect.py /data/addons21/AnkiConnect/__init__.py
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 20:19:21 +00:00
|
|
|
COPY tests/docker/2.1.x/prefs21.db /data/prefs21.db
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 20:19:21 +00:00
|
|
|
ADD tests/docker/2.1.x/entrypoint.sh /entrypoint.sh
|
2017-07-06 03:53:54 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
2017-08-29 04:21:32 +00:00
|
|
|
CMD ["anki", "-b", "/data"]
|