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

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