use kaniko to build container in ci
This commit is contained in:
parent
7b5ea70b29
commit
85d93f4e3a
@ -131,11 +131,12 @@ RUN apk add --no-cache \
|
|||||||
php8-imap \
|
php8-imap \
|
||||||
dcron
|
dcron
|
||||||
|
|
||||||
|
RUN ln -s /usr/sbin/crond /bin/crond
|
||||||
|
|
||||||
COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud
|
COPY --from=builder --chown=nginx:nginx /var/lib/nextcloud /var/lib/nextcloud
|
||||||
|
|
||||||
RUN rm /etc/nginx/http.d/default.conf
|
RUN rm /etc/nginx/http.d/default.conf
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
RUN ln -s /usr/sbin/crond /bin/crond
|
|
||||||
|
|
||||||
VOLUME [ "/var/lib/nextcloud/data", "/var/lib/nextcloud/config" ]
|
VOLUME [ "/var/lib/nextcloud/data", "/var/lib/nextcloud/config" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user