use kaniko to build container in ci
This commit is contained in:
parent
62570aa7b8
commit
7b5ea70b29
@ -131,12 +131,11 @@ 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