File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ These builds are always built with the --enable-gpl-and-non-free switch, as CUDA
152
152
``` bash
153
153
154
154
# # 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 .
156
156
```
157
157
158
158
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
161
161
the ` export.dockerfile ` and copy the necessary libraries and try again.
162
162
163
163
``` 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 .
165
165
$ ls build
166
166
bin lib
167
167
$ ls build/bin
You can’t perform that action at this time.
0 commit comments