[gimp-web/oscp] docs: Push files to testrsync directory
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] docs: Push files to testrsync directory
- Date: Mon, 22 Jun 2020 14:09:59 +0000 (UTC)
commit 0f8e6c3ebeddad69a91b8e57dd4b3fdacc012f1f
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Jun 22 16:09:55 2020 +0200
docs: Push files to testrsync directory
docs.gimp.org/docs_build/Dockerfile | 5 ++---
docs.gimp.org/docs_build/entrypoint.sh | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/docs.gimp.org/docs_build/Dockerfile b/docs.gimp.org/docs_build/Dockerfile
index 4b281a06..7f4f1bba 100644
--- a/docs.gimp.org/docs_build/Dockerfile
+++ b/docs.gimp.org/docs_build/Dockerfile
@@ -1,7 +1,6 @@
FROM centos:7
USER root
-COPY entrypoint.sh /tmp/entrypoint.sh
RUN yum install -y docbook-dtds docbook-style-dsssl docbook-style-xsl rsync \
docbook-utils-pdf docbook-utils git autoconf automake make \
libxslt gettext
@@ -9,7 +8,7 @@ RUN yum install -y docbook-dtds docbook-style-dsssl docbook-style-xsl rsync \
RUN groupadd gimpdocs -g 1000580000 && \
useradd gimpdocs -g 1000580000 -u 1000580000 -r -l -m
-EXPOSE 8080
+ADD entrypoint.sh /entrypoint.sh
USER 1000580000
-ENTRYPOINT ["/tmp/entrypoint.sh"]
+ENTRYPOINT ["/entrypoint.sh"]
diff --git a/docs.gimp.org/docs_build/entrypoint.sh b/docs.gimp.org/docs_build/entrypoint.sh
index 7c5fbd00..be7d2e76 100755
--- a/docs.gimp.org/docs_build/entrypoint.sh
+++ b/docs.gimp.org/docs_build/entrypoint.sh
@@ -5,6 +5,6 @@ set -e
git clone --depth 1 https://gitlab.gnome.org/GNOME/gimp-help.git /tmp/gimp-help
export ALL_LINGUAS="ca da de el en en_GB es fi fr hr it ja ko lt nl nn pt_BR ro ru zh_CN"
-cd /tmp/gimp-help && ./autogen.sh --without-gimp && make -j3
+cd /tmp/gimp-help && ./autogen.sh --without-gimp && make
-rsync -vr /tmp/gimp-help/html/* /docs_data/docs/2.10
+rsync -vlr /tmp/gimp-help/html/ /docs_data/docs/testrsync/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]