Skip to content

Commit

Permalink
Merge pull request #57 from cs3org/owncloud-reva-sharees
Browse files Browse the repository at this point in the history
Attempt to install reva-sharees branch of owncloud/core
  • Loading branch information
michielbdejong authored Jul 6, 2022
2 parents 8fcab03 + d86b457 commit 725589f
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions servers/owncloud/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
FROM apache-php
RUN rm -rf /var/www/html
USER www-data
RUN wget https://download.owncloud.org/community/owncloud-complete-20210721.tar.bz2
RUN tar -xjf ./owncloud-complete-20210721.tar.bz2
RUN mv owncloud html
RUN git clone --depth=1 --branch reva-sharees https://github.com/pondersource/core.git --recursive --shallow-submodules
WORKDIR /var/www/core
USER root
RUN apt update && apt install -y composer curl dirmngr apt-transport-https lsb-release ca-certificates
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt install nodejs
RUN npm install -g yarn
USER www-data
WORKDIR /var/www
RUN mv core html
WORKDIR /var/www/html
RUN composer install
RUN make install-nodejs-deps
ENV PHP_MEMORY_LIMIT="512M"
ADD init.sh /init.sh
RUN git clone --depth=1 https://github.com/pondersource/oc-sciencemesh apps/sciencemesh
Expand Down

0 comments on commit 725589f

Please sign in to comment.