make trivy happy

Ricard Illa 2022-08-24 10:01:20 +02:00
parent 4b044f988d
commit 46e5c50b4b
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 6 additions and 5 deletions

View File

@ -13,9 +13,12 @@ RUN addgroup \
--shell /sbin/nologin \ --shell /sbin/nologin \
rainloop rainloop
RUN mkdir -p /var/www/rainloop && \
cd /var/www/rainloop && \ RUN mkdir -p /var/www/rainloop
curl -sL https://repository.rainloop.net/installer.php | php && \
WORKDIR /var/www/rainloop
RUN curl -sL https://repository.rainloop.net/installer.php | php && \
mkdir -p /run/nginx /var/run && \ mkdir -p /run/nginx /var/run && \
touch /var/run/nginx.pid && \ touch /var/run/nginx.pid && \
chown -R rainloop:rainloop /var/www/rainloop chown -R rainloop:rainloop /var/www/rainloop
@ -28,6 +31,4 @@ COPY nginx.conf /etc/nginx/nginx.conf
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
WORKDIR /var/www/rainloop
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]