build nextcloud image from source
This commit is contained in:
parent
c7ac4a471e
commit
4cc2bd594d
2 changed files with 26 additions and 8 deletions
|
|
@ -1,10 +1,10 @@
|
|||
ARG TAG=latest
|
||||
FROM docker.io/library/nextcloud:${TAG}
|
||||
ARG TAG
|
||||
FROM git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${TAG}
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y supervisor \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir -p /var/log/supervisord /var/run/supervisord
|
||||
&& mkdir -p /var/log/supervisord /var/run/supervisord
|
||||
|
||||
# We need to copy a file to the supervisord folder in /var/run so it exists when the container starts.
|
||||
COPY .keep /var/run/supervisord/
|
||||
|
|
@ -13,4 +13,4 @@ COPY supervisord.conf /
|
|||
|
||||
ENV NEXTCLOUD_UPDATE=1
|
||||
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue