1
0
intel-media-ffmpeg/README.rhel-8.0.0
James Ketrenos e91c6f65d6 Added RHEL 8.0 sample Dockerfile
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2019-10-21 11:04:24 -07:00

42 lines
1.1 KiB
Plaintext

# Build the Red Hat 8.0 version...
The Red Hat image isn't using the templates/* -- it was built as a POC to
verify that our repositories are working correctly for Red Hat.
```bash
export $(grep ^FFMPEG SOLUTION)
envsubst < Dockerfile.solution.rhel-8.0.0 > Dockerfile.rhel-8.0.0
docker build . -f Dockerfile.rhel-8.0.0 -t intel-media-ffmpeg:rhel-8.0.0
```
# In a custom image...
## Installing certificates
This image isn't yet copying certificates which would
allow internal signed certs to be used, so turn
sslverify=0 on the repository.
To install the certs would be something like:
A. Copy ca certs to /etc/pki/ca-trust/source/anchors/
B. run update-ca-trust
## Installing the Intel Graphics Driver repository for Red Hat 8.0
cat << EOF > /etc/yum.repos.d/intel-graphics.repo
[intel-graphics]
name=Intel Graphics Drivers Repository
baseurl=https://osgc.jf.intel.com/graphics/rhel/8.0-devel/
sslverify=0
enabled=1
gpgcheck=0
EOF
## Configure YUM to not use the proxy for .intel.com domains
echo "no_proxy=.jf.intel.com" >> /etc/yum.conf
## Install some packages
dnf install intel-opencl