Added steps for building RHEL image, tagging, and pushing
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
parent
1b176aab55
commit
4d8d464aa5
@ -176,7 +176,7 @@ RUN dnf clean all \
|
|||||||
RUN { \
|
RUN { \
|
||||||
echo "[intel-graphics]" ; \
|
echo "[intel-graphics]" ; \
|
||||||
echo "name=Intel Graphics Drivers Repository" ; \
|
echo "name=Intel Graphics Drivers Repository" ; \
|
||||||
echo "baseurl=https://osgc.jf.intel.com/graphics/rhel/8.0-devel/" ; \
|
echo "baseurl=https://osgc.jf.intel.com/internal/rhel/8.0/" ; \
|
||||||
echo "sslverify=0" ; \
|
echo "sslverify=0" ; \
|
||||||
echo "enabled=1" ; \
|
echo "enabled=1" ; \
|
||||||
echo "gpgcheck=0" ; \
|
echo "gpgcheck=0" ; \
|
||||||
|
@ -4,11 +4,18 @@ 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.
|
verify that our repositories are working correctly for Red Hat.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
TAG=test-build-rhel-8.0.0-$(date +%Y%m%d)
|
||||||
export $(grep ^FFMPEG SOLUTION)
|
export $(grep ^FFMPEG SOLUTION)
|
||||||
envsubst < Dockerfile.solution.rhel-8.0.0 > Dockerfile.rhel-8.0.0
|
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
|
docker build -f Dockerfile.rhel-8.0.0 -t intel-media-ffmpeg:${TAG} --no-cache .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# To push the tag to Harbor
|
||||||
|
```bash
|
||||||
|
TAG=test-build-rhel-8.0.0-$(date +%Y%m%d)
|
||||||
|
docker tag intel-media-ffmpeg:${TAG} amr-registry.caas.intel.com/vtt-osgc/solutions/intel-media-ffmpeg:${TAG}
|
||||||
|
docker push amr-registry.caas.intel.com/vtt-osgc/solutions/intel-media-ffmpeg:${TAG}
|
||||||
|
```
|
||||||
|
|
||||||
# In a custom image...
|
# In a custom image...
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user