11 lines
163 B
Bash
Executable File
11 lines
163 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -eq 0 ]
|
|
then
|
|
echo "Usage: <script> <uid> <gid>"
|
|
else
|
|
puid=$1
|
|
pgid=$2
|
|
docker build --build-arg PUID=$puid --build-arg PGID=$pgid .
|
|
fi
|