git-clone taks and updates

This commit is contained in:
2022-03-15 12:34:17 +01:00
parent e1930c8fae
commit 5a2b1a1521
5 changed files with 107 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ RUN mkdir -p /rompr
RUN ln -sf /rompr/prefs /app/rompr/prefs
RUN ln -sf /rompr/albumart /app/rompr/albumart
RUN chown -R www-data:www-data /app/rompr /rompr
ADD nginx_default /etc/nginx/sites-available/default
ADD /files/nginx_default /etc/nginx/sites-available/default
RUN mkdir -p /run/php/
#Environment variables to configure php
RUN sed -ri -e 's/^allow_url_fopen =.*/allow_url_fopen = On/g' /etc/php/7.4/fpm/php.ini
@@ -35,7 +35,7 @@ RUN sed -ri -e 's/^display_startup_errors =.*/display_startup_errors = On/g' /e
RUN echo "<?php phpinfo(); ?>" > /app/rompr/phpinfo.php
RUN update-rc.d php7.4-fpm defaults
ADD run-httpd /usr/local/bin/
ADD /files/run-httpd /usr/local/bin/
RUN chmod 755 /usr/local/bin/run-httpd
EXPOSE 80
VOLUME ["/rompr"]

View File

@@ -11,7 +11,7 @@ spec:
- name: git-revision
value: master
- name: path-to-image-context
value: /files
value: ./
- name: path-to-dockerfile
value: /apps/rompr/Dockerfile
- name: image-name