You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
204 B
Bash

2 years ago
#!/bin/bash
CURDIRNAME=${PWD##*/}
2 years ago
docker build . -t ${USER}_${CURDIRNAME} \
2 years ago
--build-arg USER=${USER} \
--build-arg GROUP=${USER} \
--build-arg UID=$(id -u ${USER}) \
--build-arg GID=$(id -g ${USER})