fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
752 B

FROM debian:jessie
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python3 python3-pip --no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install --upgrade radicale
## XXXvlab: TO REMOVE, Ugh, git is needed only to install radicale_auth_ldap
## XXXvlab: This should be installed only if we link to ldap
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y git --no-install-recommends && \
cd /tmp && git clone https://github.com/marcoh00/radicale-auth-ldap && \
cd radicale-auth-ldap && python3 setup.py install && \
cd .. && rm -rf radicale-auth-ldap && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "radicale" ]