Код: Выделить всё
#No match for argument: lsscsi
#No match for argument: nvme-cli
#No match for argument: nfs-utils
Код: Выделить всё
#Dockerfile
FROM registry.access.redhat.com/ubi8/ubi-init
RUN yum -y update \
&& yum -y install \
lsscsi \
nvme-cli \
net-tools
#Rest of Dockerfile
Я написал сценарий и выполнил его скрипт до начала сборки докера
Код: Выделить всё
#!/bin/bash
subscription-manager register --username --password
subscription-manager attach
subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
subscription-manager repos --enable rhel-8-for-$(arch)-baseos-rpms
subscription-manager repos --enable rhel-8-for-$(arch)-appstream-rpms
yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Кроме того, я не могу включить какие-либо репозитории, специфичные для Ubi?
Подробнее здесь: https://stackoverflow.com/questions/792 ... ner-enviro
Мобильная версия