Use externally-built containers for test servers

This speeds up CI by avoiding a rebuild of these container on each run.
This commit is contained in:
Hugo Osvaldo Barrera 2021-06-12 10:54:56 +02:00
parent 0e47775ce3
commit d747977af2
4 changed files with 2 additions and 26 deletions

View file

@ -1,5 +0,0 @@
FROM python:3.8
RUN pip install radicale
CMD radicale --storage-filesystem-folder /tmp/dav -H 0.0.0.0:8001 -D

View file

@ -1,13 +0,0 @@
# 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

View file

@ -1,6 +1,3 @@
#!/bin/sh
cd $(git rev-parse --show-toplevel)
docker build -t radicale docker/radicale
docker run -d -p 8001:8001 radicale
docker run -d -p 8001:8001 whynothugo/vdirsyncer-devkit-radicale

View file

@ -1,6 +1,3 @@
#!/bin/sh
cd $(git rev-parse --show-toplevel)
docker build -t xandikos docker/xandikos
docker run -d -p 8000:8000 xandikos
docker run -d -p 8000:8000 whynothugo/vdirsyncer-devkit-xandikos