use kaniko to build container in ci

This commit is contained in:
Sebastian Hugentobler 2022-02-14 08:55:28 +01:00
parent 7b5ea70b29
commit 85d93f4e3a
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 2 additions and 1 deletions

View File

@ -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" ]