Started with a simple Dockerfile:
FROM primekey/ejbca-ce:7.4.3.2
USER root
RUN yum install -y opensc
However, trying to build this image I got an error:
Step 1/3 : FROM primekey/ejbca-ce:7.4.3.2
---> 38b5ca501d30
Step 2/3 : USER root
---> Using cache
---> bb6a8f46e5df
Step 3/3 : RUN yum install -y opensc
---> Running in 6051412dad9e
/bin/sh: yum: command not found
Is it possible to insall through yum package manager, or it is disallowed? (although it is used according the guidance...)
How to install opensc and related packages?
WT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh, the container image has changed, as CentOS is deprecated it now uses something else, or more stripped. Yum is not available there I see, so you have to make without that and add with manual commands (rpm exists).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I need to install opensc and copy PKCS#11 middleware into ejbca-ce docker image to connect with the HSM. I am following the guidance described here: https://github.com/primekeydevs/containers/tree/master/hsm-driver-fs-addon.
Started with a simple Dockerfile:
FROM primekey/ejbca-ce:7.4.3.2
USER root
RUN yum install -y opensc
However, trying to build this image I got an error:
Step 1/3 : FROM primekey/ejbca-ce:7.4.3.2
---> 38b5ca501d30
Step 2/3 : USER root
---> Using cache
---> bb6a8f46e5df
Step 3/3 : RUN yum install -y opensc
---> Running in 6051412dad9e
/bin/sh: yum: command not found
Is it possible to insall through yum package manager, or it is disallowed? (although it is used according the guidance...)
How to install opensc and related packages?
WT
Oh, the container image has changed, as CentOS is deprecated it now uses something else, or more stripped. Yum is not available there I see, so you have to make without that and add with manual commands (rpm exists).