Add a initial nextcloud docker image
This commit is contained in:
parent
98cc6cf4dc
commit
d445345d17
4 changed files with 41 additions and 2 deletions
17
NextCloud/Dockerfile
Normal file
17
NextCloud/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:debianbuild
|
||||
|
||||
|
||||
RUN apt-get install -y apache2 apache2-utils php8.3 php8.3-gd php8.3-mysql php8.3-mbstring php8.3-xml
|
||||
|
||||
ENV MOUNTPOINT /var/www/html
|
||||
ENV NEXTCLOUD_VERSION 30.0.2
|
||||
|
||||
WORKDIR /var/www/html
|
||||
RUN rm index.html
|
||||
|
||||
RUN curl -sO "https://github.com/nextcloud/server/archive/refs/tags/v${NEXTCLOUD_VERSION}.tar.gz"
|
||||
RUN tar -xvf "v${NEXTCLOUD_VERSION}.tar.gz"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["apache2ctl", "-D", "FOREGROUND"]
|
Loading…
Add table
Add a link
Reference in a new issue