[extensions-web] openshift: docker: inline image references



commit 7e60f0284777a8ae4596623d5051785cf80b34be
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sat Jan 15 20:48:52 2022 +0400

    openshift: docker: inline image references
    
    Looks like Openshift 3 have problems with handling args in image references

 openshift/docker/Dockerfile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/openshift/docker/Dockerfile b/openshift/docker/Dockerfile
index 59bc8f4..7354560 100644
--- a/openshift/docker/Dockerfile
+++ b/openshift/docker/Dockerfile
@@ -1,7 +1,4 @@
-ARG PYTHON_IMAGE=python
-ARG PYTHON_VERSION=3.9
-
-FROM $PYTHON_IMAGE:$PYTHON_VERSION as xapian
+FROM python:3.9 as xapian
 
 ARG XAPIAN_VERSION=1.4.19
 ENV PYTHONUNBUFFERED=1
@@ -9,7 +6,7 @@ ENV PYTHONUNBUFFERED=1
 COPY openshift/docker/scripts/ /tmp/scripts/
 RUN /tmp/scripts/install-xapian.sh
 
-FROM $PYTHON_IMAGE:$PYTHON_VERSION
+FROM python:3.9
 
 LABEL author="Yuri Konotopov <ykonotopov gnome org>"
 


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