[planet-web/oscp] Copy over the common theme files for xsltproc to work as expected



commit cc4570bad59c7b444ff1ffce1632c066039e4578
Author: Andrea Veri <averi redhat com>
Date:   Tue Sep 3 13:14:00 2019 +0200

    Copy over the common theme files for xsltproc to work as expected

 Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 354e970..fe60326 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM debian:10-slim
 ARG DEBIAN_FRONTEND=noninteractive
 
 RUN apt-get update && \
-    apt-get install -y --no-install-recommends planet-venus git nginx-light && \
+    apt-get install -y --no-install-recommends planet-venus git nginx-light xsltproc && \
     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
 RUN ln -sf /dev/stdout /var/log/nginx/access.log && \
@@ -12,6 +12,10 @@ RUN groupadd planet -g 1000510000 && useradd planet -g 1000510000 -u 1000510000
     git clone --depth 1 --branch master --single-branch https://gitlab.gnome.org/Infrastructure/planet-web 
/planet && \
     chown -R 1000510000:100051000 /planet
 
+RUN mkdir -p /var/cache/planet-venus/theme/common && \
+    cp -r /usr/share/planet-venus/theme/common /var/cache/planet-venus/theme/common && \
+    chown -R 1000510000:100051000 /var/cache/planet-venus/theme/common
+
 ADD nginx.conf /etc/nginx/nginx.conf
 ADD update-planet /usr/local/bin/update-planet
 ADD update-pgo-heads /usr/local/bin/update-pgo-heads


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]