[gimp-web/oscp] docs: Add CI, switch to UBI9
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] docs: Add CI, switch to UBI9
- Date: Tue, 24 May 2022 14:06:32 +0000 (UTC)
commit 422e170a254e542d93902d68ee4c873622270b7c
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue May 24 15:59:22 2022 +0200
docs: Add CI, switch to UBI9
.gitlab-ci.yml | 7 +++++++
docs.gimp.org/httpd/Dockerfile | 15 +++++++--------
2 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d8a8cd02..f4ad032f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,6 +45,13 @@ testing.gimp.org:
variables:
OCI_TAG: testing
+docs.gimp.org:
+ extends:
+ - .build
+ variables:
+ OCI_TAG: docs
+ CI_JOB_NAME: docs.gimp.org/httpd
+
docs_build:
extends:
- .build
diff --git a/docs.gimp.org/httpd/Dockerfile b/docs.gimp.org/httpd/Dockerfile
index 842bb8b2..93b3508c 100644
--- a/docs.gimp.org/httpd/Dockerfile
+++ b/docs.gimp.org/httpd/Dockerfile
@@ -1,10 +1,9 @@
-FROM centos/httpd-24-centos7
-USER root
+FROM registry.access.redhat.com/ubi9/httpd-24
-COPY app_data /opt/app-root/src
-RUN chown -R 1000580000:1000580000 /opt/app-root/src
+USER 0
+ADD app_data /tmp/src
+RUN chown -R 1001:0 /tmp/src
-EXPOSE 8080
-
-USER 1000580000
-ENTRYPOINT ["/usr/bin/run-httpd"]
+USER 1001
+RUN /usr/libexec/s2i/assemble
+CMD /usr/libexec/s2i/run
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]