owncloud-docker
  1. FROM owncloud/base:20.04-amd64
  2.  
  3. LABEL maintainer="ownCloud DevOps <devops@owncloud.com>" \
  4.   org.label-schema.name="ownCloud Server" \
  5.   org.label-schema.vendor="ownCloud GmbH" \
  6.   org.label-schema.schema-version="1.0"
  7.  
  8. VOLUME ["/mnt/data"]
  9. EXPOSE 8080
  10.  
  11. ENTRYPOINT ["/usr/bin/entrypoint"]
  12. CMD ["/usr/bin/owncloud", "server"]
  13.  
  14. # cleanup, even if an obs repo fails to respond.
  15. RUN apt-get update -y && \
  16.   apt-get upgrade -y || true && \
  17.   apt-get clean && \
  18.   rm -rf /var/lib/apt/lists/*
  19.  
  20. ADD owncloud.tar.bz2 /var/www/
  21. ADD user_ldap.tar.gz /var/www/owncloud/apps/
  22.  
  23. COPY ./overlay /
  24. WORKDIR /var/www/owncloud
  25.  
  26. RUN find /var/www/owncloud \( \! -user www-data -o \! -group root \) -print0 | xargs -r -0 chown www-data:root && \
  27.   chmod g+w /var/www/owncloud
Parsed in 0.002 seconds