Download poky
This commit is contained in:
23
image/run
Executable file
23
image/run
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# FCB Looper Docker Launcher Script
|
||||
# Usage: ./run <service> [additional args...]
|
||||
|
||||
set -e
|
||||
|
||||
# Get current user's UID and GID
|
||||
export HOST_UID=$(id -u)
|
||||
export HOST_GID=$(id -g)
|
||||
|
||||
# Check if service name is provided
|
||||
if [ $# -eq 0 ]; then
|
||||
echo "Usage: $0 <service> [additional args...]"
|
||||
echo "Available services:"
|
||||
echo " yocto - Interactive Yocto development environment"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SERVICE=$1
|
||||
shift
|
||||
|
||||
docker compose run --remove-orphans --rm "$SERVICE" "$@"
|
||||
Reference in New Issue
Block a user