[gimp-web/oscp] [testing] use ARGs in Dockerfile
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web/oscp] [testing] use ARGs in Dockerfile
- Date: Mon, 5 Jul 2021 16:01:40 +0000 (UTC)
commit 15e8745919370b2bb84b49631e30e21da7386f64
Author: Michael Schumacher <schumaml gmx de>
Date: Mon Jul 5 18:00:37 2021 +0200
[testing] use ARGs in Dockerfile
testing.gimp.org/Dockerfile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/testing.gimp.org/Dockerfile b/testing.gimp.org/Dockerfile
index 38b08d7d..c3774dec 100644
--- a/testing.gimp.org/Dockerfile
+++ b/testing.gimp.org/Dockerfile
@@ -1,12 +1,15 @@
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 && \
+ARG branch=testing
+ARG target=testing
+
+RUN git clone --depth 1 --branch $branch https://gitlab.gnome.org/Infrastructure/gimp-web && \
cd gimp-web && \
python3 -m venv py3-venv && \
source py3-venv/bin/activate && \
pip3 install -r py3-requirements.txt && \
- make testing
+ make $target
FROM centos/httpd-24-centos7
USER root
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]