Skip to content

Commit 5ee28a2

Browse files
authored
Update Docker command
1 parent 330f08b commit 5ee28a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ These builds are always built with the --enable-gpl-and-non-free switch, as CUDA
152152
```bash
153153

154154
## Start the build
155-
$ docker build --tag=ffmpeg:cuda-$DIST -f cuda-ubunu.dockerfile --build-arg .
155+
$ docker build --tag=ffmpeg:cuda --output type=local,dest=build -f cuda-ubuntu.dockerfile .
156156
```
157157

158158
Build an `export.dockerfile` that copies only what you need from the image you just built as follows. When running,
@@ -161,7 +161,7 @@ matched the operating system and version, it should work well with dynamic links
161161
the `export.dockerfile` and copy the necessary libraries and try again.
162162

163163
```bash
164-
$ docker build --output type=local,dest=build -f export.dockerfile --build-arg DIST=$DIST .
164+
$ docker build --output type=local,dest=build -f export.dockerfile .
165165
$ ls build
166166
bin lib
167167
$ ls build/bin

0 commit comments

Comments
 (0)