server-scripts/caddy_docker_custom_user/create.sh

10 lines
141 B
Bash
Executable File

#!/bin/sh
if [ $# -eq 0 ]
then
echo "Usage: <script> <id>"
else
ID=$1
docker build --build-arg PUID=$ID --build-arg PGID=$ID .
fi