Add a initial nextcloud docker image
This commit is contained in:
parent
98cc6cf4dc
commit
d445345d17
4 changed files with 41 additions and 2 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -233,6 +233,24 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage("Build NextCloud Image") {
|
||||
agent {
|
||||
label "dockermain"
|
||||
}
|
||||
|
||||
steps {
|
||||
script {
|
||||
sh '''
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:nextcloud NextCloud
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:nextcloud
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage("Clean Up Caches") {
|
||||
agent {
|
||||
label "dockermain"
|
||||
|
|
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"]
|
3
build.sh
3
build.sh
|
@ -35,3 +35,6 @@ docker push git.zontreck.com/ariascreations/buildenvironments:archmegapahit
|
|||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:dindagent DINDAgent
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:dindagent
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:nextcloud NextCloud
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:nextcloud
|
|
@ -13,3 +13,4 @@ docker build -t git.zontreck.com/ariascreations/buildenvironments:archdev ArchBu
|
|||
docker build -t git.zontreck.com/ariascreations/buildenvironments:archmegapahit Megapahit/arch
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:dindagent DINDAgent
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:nextcloud NextCloud
|
Loading…
Add table
Add a link
Reference in a new issue