Questions tagged [ubi]
23 questions
8
votes
1 answer
microdnf update command installs new packages instead of just updating existing packages
My Dockerfile uses base image registry.access.redhat.com/ubi8/ubi-minimal which has microdnf package manager.
When I include following snippet in docker file to have latest updates on existing packages,
RUN true \
&& microdnf clean all \
&&…

JRomio
- 2,407
- 3
- 26
- 27
3
votes
1 answer
Moving over to red hat ubi-minimal
Bit of a newb question. I'm currently running off Red Hat UBI 8 and am looking to move to Red Hat 8 UBI-Minimal.
My current docker file has something like this in it:
RUN groupadd -r -g 1000 myuser \
&& useradd -r -u 1000 -g myuser -m -d…

Richie
- 4,989
- 24
- 90
- 177
3
votes
1 answer
Is there a way to install git into RedHat ubi 8 minimal images with microdnf and work around errors installing shadow-utils?
Trying to install git into a Redhat UBI 8 minimal image with microdnf fails. I've traced the problem I think to the install of shadow-utils, which git requires. Trying to install shadow-utils alone fails as well. I had no trouble installing other…

Eric Schoen
- 668
- 9
- 16
2
votes
1 answer
How to install Apache Ant during docker image build from UBI
Trying to use ibmcom/websphere-liberty:full-java8-ibmjava-ubi (RHEL8.2) as a builder image and trying to install ant but no success
[root@d68aa2dcc111 /]# yum -y install ant
Updating Subscription Management repositories.
Unable to read consumer…

geofrey
- 466
- 3
- 12
2
votes
0 answers
Fail to install tcpdump package in UBI8 (Read hat Universal Base Image)
I am building a docker image based on UBI8(Read hat Universal Base Image), Dockerfile looks like
FROM registry.access.redhat.com/ubi8/ubi-minimal
RUN microdnf install sudo zip tar bash procps openssl iptables net-tools tcpdump && microdnf update;…

Joe
- 307
- 1
- 11
1
vote
1 answer
How to install ffmpeg on UBI docker images?
I'm looking for a simple way to install ffmpeg in a UBI8 (ubi-minimal) docker image.
I tried running in the dockerfile the following:
RUN microdnf upgrade
RUN microdnf install ffmpeg
And I'm getting:
------
> [7/8] RUN microdnf install ffmpeg:
#11…

S. D.
- 788
- 5
- 15
1
vote
1 answer
Is there a way for git to identify the git directory? It says- fatal: --local can only be used inside a git repository
Git is not able to identify the local .gitconfig of the directory unless marked as a safe directory globally. I have a local .gitconfig set for a directory which is marked as safe inside the local .gitconfig file. But git is not able to identify it…

Soumyajit Das
- 31
- 2
1
vote
0 answers
Use Satellite repositories during podman build on RHEL8
I need to be able to use my company's satellite repository while building podman image on top of Red Hat 8 UBI image. I was able to achieve that by copying from host machine those files:
/etc/yum.repos.d ,/etc/rhsm and/etc/pki
to image during build,…

Demba
- 11
- 1
1
vote
2 answers
Unpacking a ubi image with an ubifs image inside
I ran into a problem during my research.
I have a firmware file that is downloaded of the internet and im trying to unpack it to emulate the firmware.
Good news is that i did it successfully once but i reverted my machine and i cant recreate the…

Nino Osewoudt
- 33
- 1
- 5
1
vote
1 answer
How to build rootfs.tar from RHEL UBI image (pulled with podman)
If I pull a RHEL UBI image like so (On Windows using cygwin and podman),
$podman pull registry.access.redhat.com/ubi8/ubi
Is there a command I can run on the host system (Windows) to create a file on the host (Windows) that would be a rootfs.tar of…

devLinuxNC
- 81
- 1
- 8
0
votes
0 answers
What is best practice to install Package in ubi-minimal which is not in offical repo but in CentOS
I am trying to make small container which uses qeum-img, qemu-kvm.
How can I install package which is not in offical ubi-minimal repository but in CentOS 8 Appstream?
* I know that both ubi-minimal and CentOS 8 Stream are almost same because it is…

TyeolRik
- 466
- 2
- 25
0
votes
0 answers
installing nginx-module-njs with existing install nginx on ubi8
Has anyone been successful in install nginx-module-njs on ubi8 ?
I created this issue https://github.com/nginx/njs/issues/652
nginx -v
nginx/1.20.1
yum install nginx-module-njs-1.20.1*
Last metadata expiration check: 0:03:33 ago on Wed Jun 14…

bhantol
- 9,368
- 7
- 44
- 81
0
votes
1 answer
libstdc++6 && gcc-9 for ubi8-minimal distro
I cannot seem to install gcc-9 or libstdc++6 for ubi8-miniman distro.
error: No package matches 'gcc-9'
I know there is a enablerepo= which I can use to point towards the repo for packages that are not inside the minimal one, but the repos I tried…

Deniss M.
- 3,617
- 17
- 52
- 100
0
votes
0 answers
Not able to install chromium package on ubi-init latest image because of libQt5Core,libQt5Gui,libQt5Widgets,libcanberra not found
Pulled latest image of ubi-ini , launched container , sshed to it , enabled EEPL repo & tried installing chromium package fails because of not finding dependencies like ibQt5Core,libQt5Gui,libQt5Widgets,libcanberra in EEPL repo.
commands fired in…

sjethvani
- 498
- 1
- 7
- 17
0
votes
0 answers
Prometheus Community helm Charts service RedHat UBI docker images
https://github.com/prometheus-community/helm-charts
I'm using the above prometheus community helm charts but docker images aren't RedHat UBI base images.
Do you have RedHat UBI base images for Prometheus and Grafana?
We are looking RedHat UBi base…