2017-08-29 01:21:32 -03:00
|
|
|
FROM txgio/anki:2.0.45
|
2017-07-06 00:14:04 -03:00
|
|
|
|
2017-08-29 01:21:32 -03:00
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y xvfb
|
2017-07-06 00:53:54 -03:00
|
|
|
|
2017-08-29 01:51:51 -03:00
|
|
|
#COPY AnkiConnect.py /data/addons/AnkiConnect.py
|
2017-07-06 00:14:04 -03:00
|
|
|
|
2017-08-29 01:21:32 -03:00
|
|
|
COPY tests/docker/prefs.db /data/prefs.db
|
2017-07-06 00:14:04 -03:00
|
|
|
|
2017-08-29 00:18:10 -03:00
|
|
|
ADD tests/docker/entrypoint.sh /entrypoint.sh
|
2017-07-06 00:53:54 -03:00
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
2017-08-29 01:21:32 -03:00
|
|
|
CMD ["anki", "-b", "/data"]
|