[gimp-web/oscp] testing.gimp.org: copy the Dockerfile from static.gimp.org.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] testing.gimp.org: copy the Dockerfile from static.gimp.org.
- Date: Sun, 23 May 2021 21:34:10 +0000 (UTC)
commit 9994b86a43d056efe09c6cb96e3b47b78ebb3f36
Author: Jehan <jehan girinstud io>
Date: Sun May 23 18:18:09 2021 +0200
testing.gimp.org: copy the Dockerfile from static.gimp.org.
Preparing for merging the migrate/testing branch into testing, which
means moving to Python 3 in the Docker environment.
testing.gimp.org/Dockerfile | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/testing.gimp.org/Dockerfile b/testing.gimp.org/Dockerfile
index 82f04d38..0a00693e 100644
--- a/testing.gimp.org/Dockerfile
+++ b/testing.gimp.org/Dockerfile
@@ -1,11 +1,12 @@
-FROM centos:7
-RUN yum install -y epel-release && \
- yum install -y python2-pip git
+FROM centos:8
+RUN dnf install -y python3-pip git make
-RUN git clone --depth 1 --branch testing https://gitlab.gnome.org/Infrastructure/gimp-web.git && \
+RUN git clone --depth 1 --branch migrate/testing https://gitlab.gnome.org/Infrastructure/gimp-web && \
cd gimp-web && \
- pip install -r py2-requirements.txt && \
- pelican content -o output -s pelicanconf.testing.py
+ python3 -m venv py3-venv && \
+ source py3-venv/bin/activate && \
+ pip3 install -r py3-requirements.txt && \
+ make static
FROM centos/httpd-24-centos7
USER root
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]