commit 114e8d3a40aaf7e22fa9eb04cc474c02647679f7 Author: Nulo Date: Sun Apr 9 16:49:06 2023 -0300 init diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..cb1928d --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,9 @@ +pipeline: + build-image: + image: docker.io/woodpeckerci/plugin-docker-buildx + secrets: [docker_password] + settings: + registry: https://gitea.nulo.in + username: nulo + repo: gitea.nulo.in/nulo/nextcloud + dockerfile: Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..d456618 --- /dev/null +++ b/Containerfile @@ -0,0 +1,12 @@ +FROM docker.io/nextcloud:apache + +RUN apt-get update && apt-get install -y \ + supervisor \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir /var/log/supervisord /var/run/supervisord + +COPY supervisord.conf / + +ENV NEXTCLOUD_UPDATE=1 + +CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] \ No newline at end of file