From marek.salwerowicz at misal.pl Sun May 3 09:49:29 2020 From: marek.salwerowicz at misal.pl (Marek Salwerowicz) Date: Sun, 3 May 2020 11:49:29 +0200 Subject: [scl.org] PHP 7.4 ? Message-ID: Hello list, I would like to ask if there is planned to release PHP 7.4 in Software Collections for CentOS 7 ? Best regards, Marek -- Marek Salwerowicz From apurty at redhat.com Wed May 6 12:29:20 2020 From: apurty at redhat.com (Abhinay Purty) Date: Wed, 6 May 2020 17:59:20 +0530 Subject: [scl.org] Python S2I Images not taking the environment variables Message-ID: Hello Team, One of the customer wants to use the Python S2I Image ?ubi7/python-36? and ?rhscl/python-36-rhel7? with a local pypi mirror and pipenv.and they set the following env variables: PIP_TRUSTED_HOST: pypi-mirror.mycompany.local PIP_INDEX_URL: https://pypi-mirror.mycompany.local/artifactory/api/pypi/pypi.org/simple ENABLE_PIPENV: true However, the installation of pipenv fails because it does not use the environment vars. According to the source of the assemble script of the python s2i image of python the following script is used. https://github.com/sclorg/s2i-python-container/blob/master/3.6/s2i/bin/assemble#L26 function install_pipenv() { echo "---> Installing pipenv packaging tool ..." VENV_DIR=$HOME/.local/venvs/pipenv virtualenv_bin "$VENV_DIR" $VENV_DIR/bin/pip --isolated install -U pipenv mkdir -p $HOME/.local/bin ln -s $VENV_DIR/bin/pipenv $HOME/.local/bin/pipenv } For the installation of pipenv, pip is using the --isolated option which ignores all environment vars. Can we have a fix for this image to include the environment variables ? -- Regards, Abhinay Purty Associate Technical Support Engineer Red Hat India Pvt. Ltd. -------------- next part -------------- An HTML attachment was scrubbed... URL: From apurty at redhat.com Fri May 8 06:48:25 2020 From: apurty at redhat.com (Abhinay Purty) Date: Fri, 8 May 2020 12:18:25 +0530 Subject: [scl.org] Python S2I Images not taking the environment variables In-Reply-To: References: Message-ID: Hello Team, Do we have an update on this ? Thanks On Wed, May 6, 2020 at 5:59 PM Abhinay Purty wrote: > Hello Team, > > One of the customer wants to use the Python S2I Image ?ubi7/python-36? and > ?rhscl/python-36-rhel7? with a local pypi mirror and pipenv.and they set > the following env variables: > > PIP_TRUSTED_HOST: pypi-mirror.mycompany.local > PIP_INDEX_URL: > https://pypi-mirror.mycompany.local/artifactory/api/pypi/pypi.org/simple > ENABLE_PIPENV: true > > However, the installation of pipenv fails because it does not use the > environment vars. According to the source of the assemble script of the > python s2i image of python the following script is used. > > > https://github.com/sclorg/s2i-python-container/blob/master/3.6/s2i/bin/assemble#L26 > > function install_pipenv() { > echo "---> Installing pipenv packaging tool ..." > VENV_DIR=$HOME/.local/venvs/pipenv > virtualenv_bin "$VENV_DIR" > $VENV_DIR/bin/pip --isolated install -U pipenv > mkdir -p $HOME/.local/bin > ln -s $VENV_DIR/bin/pipenv $HOME/.local/bin/pipenv > } > For the installation of pipenv, pip is using the --isolated option which > ignores all environment vars. > > Can we have a fix for this image to include the environment variables ? > > > -- > Regards, > > Abhinay Purty > > Associate Technical Support Engineer > > Red Hat India Pvt. Ltd. > > > -- Regards, Abhinay Purty Associate Technical Support Engineer Red Hat India Pvt. Ltd. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bdauletb at redhat.com Mon May 11 14:46:09 2020 From: bdauletb at redhat.com (Bissenbay Dauletbayev) Date: Mon, 11 May 2020 14:46:09 -0000 Subject: [scl.org] Using UBI8 for toolbox container Message-ID: Hi SoftwareCollections, I am working on replacing the base image of this Dockerfile from Fedora32 to UBI8. However, I face issues where in the build process I see missing packages for UBI8. Then, my manager advised me to look at this Dockerfile.rhel8 to understand how you guys do it. Could you please assist me why when I try to build that dockerfile I get error message (attached the screenshot). Could you also please help me with replacing base image from Fedora32 to UBI8 and how to deal when I face missing packages issues like what it means is that the packages I am trying to install are not present in Red Hat Repos I guess. Thanks in advance, Bissenbay! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2020-05-11 10-43-53.png Type: image/png Size: 54229 bytes Desc: not available URL: From fedoraproject at cyberpear.com Sat May 30 00:54:59 2020 From: fedoraproject at cyberpear.com (James Cassell) Date: Fri, 29 May 2020 20:54:59 -0400 Subject: [scl.org] Using UBI8 for toolbox container In-Reply-To: References: Message-ID: On Mon, May 11, 2020, at 10:45 AM, Bissenbay Dauletbayev wrote: > Hi SoftwareCollections, > > I am working on replacing the base image of this Dockerfile > from Fedora32 to UBI8. However, I face issues where in the build process I see missing packages for UBI8. Then, my manager advised me to look at this Dockerfile.rhel8 to understand how you guys do it. Could you please assist me why when I try to build that dockerfile I get error message (attached the screenshot). > > Could you also please help me with replacing base image from Fedora32 > to UBI8 and how to deal when I face missing packages issues like what > it means is that the packages I am trying to install are not present in > Red Hat Repos I guess. > You should use the fully qualified name: registry.access.redhat.com/ubi8 V/r, James Cassell From fedoraproject at cyberpear.com Sat May 30 18:49:14 2020 From: fedoraproject at cyberpear.com (James Cassell) Date: Sat, 30 May 2020 14:49:14 -0400 Subject: [scl.org] Using UBI8 for toolbox container In-Reply-To: References: Message-ID: <116f8b53-3d57-405f-92b1-80160f4b6c6b@www.fastmail.com> On Fri, May 29, 2020, at 8:54 PM, James Cassell wrote: > On Mon, May 11, 2020, at 10:45 AM, Bissenbay Dauletbayev wrote: > > Hi SoftwareCollections, > > > > I am working on replacing the base image of this Dockerfile > > from Fedora32 to UBI8. However, I face issues where in the build process I see missing packages for UBI8. Then, my manager advised me to look at this Dockerfile.rhel8 to understand how you guys do it. Could you please assist me why when I try to build that dockerfile I get error message (attached the screenshot). > > > > Could you also please help me with replacing base image from Fedora32 > > to UBI8 and how to deal when I face missing packages issues like what > > it means is that the packages I am trying to install are not present in > > Red Hat Repos I guess. > > > > You should use the fully qualified name: registry.access.redhat.com/ubi8 > I took a closer look, and it appears that some of the packages aren't available. micropipenv, jwhois, and flatpak-spawn are available neither in RHEL nor in EPEL. fpaste is available only in EPEL. words, vte-profile, tree, traceroute, tcpdump, mtr, mlocate, man-pages, keyutils, and bash-completion are available only in RHEL and not in UBI. For these, you could open a request to have them added to UBI, but generally they want very good justification before adding any package to UBI. V/r, James Cassell