mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
The main advantage here is that its dependencies are TOTALLY separate from vdirsyncer's, keeping the runtime environment for vdirsyncer cleaner. It also makes testing locally not only possible, but fast and pleasant.
13 lines
316 B
Docker
13 lines
316 B
Docker
# Original file copyright 2017 Jelmer Vernooij
|
|
|
|
FROM ubuntu:bionic
|
|
RUN apt-get update && apt-get -y install xandikos locales
|
|
EXPOSE 8000
|
|
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV PYTHONIOENCODING=utf-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
CMD xandikos -d /tmp/dav -l 0.0.0.0 -p 8000 --autocreate
|