You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
327 B
16 lines
327 B
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
IMAGE_NAME=mender-convert
|
|
|
|
MENDER_CONVERT_DIR="$(pwd)"
|
|
mkdir -p output
|
|
|
|
docker run \
|
|
--mount type=bind,source="$MENDER_CONVERT_DIR,target=/mender-convert" \
|
|
--privileged=true \
|
|
--cap-add=SYS_MODULE \
|
|
-v /dev:/dev \
|
|
-v /lib/modules:/lib/modules:ro \
|
|
$IMAGE_NAME "$@"
|
|
|