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