1
0

Added more info on launching the container

Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
This commit is contained in:
James Ketrenos 2019-09-16 17:13:45 -07:00
parent 8762539211
commit 92b62d4636

View File

@ -3,6 +3,26 @@
This project hosts a container demonstrating the use of ffmpeg
using GPU offload for transcode operations.
# Using
Build the container:
```bash
docker build . -t intel-media-ffmpeg
```
Run the container:
```bash
docker run \
--rm \
--device=/dev/dri:/dev/dri \
-it \
intel-media-ffmpeg
```
## Developing
The Dockerfile itself is constructed from re-usable snippets,
located in the templates/ directory, and can be regenerated
by running:
@ -15,7 +35,11 @@ The above script uses environment substitution to stamp version
information within the created Dockerfile. The files used are **SOLUTION**,
and **MANIFEST**.
# SOLUTION
After building the template components, the file **Dockerfile.solution** is
then added to the Dockerfile with environment substitution.
## SOLUTION
Solution specific definitions:
@ -24,7 +48,7 @@ Solution specific definitions:
OS_VERSION is used as the OS version. Possible values: disco, eoan
# MANIFEST
## MANIFEST
The version of MANIFEST was hard coded by reading the set of Agama packages
on my local disk, sorting, and name-mangling them to be VERSION declarations.