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 20:16:06 +00:00
|
|
|
COPY AnkiConnect.py /data/addons21/AnkiConnect.py
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 20:16:06 +00:00
|
|
|
COPY tests/docker/prefs21.db /data/prefs21.db
|
2017-07-06 03:14:04 +00:00
|
|
|
|
2017-08-29 03:18:10 +00:00
|
|
|
ADD tests/docker/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"]
|