~patrickhaussmann/dotfiles

6f1c1ea852baa527171b51d319e0aefec56cad5e — patrickhaussmann 2 months ago a7967f7
update docker image before build step
1 files changed, 2 insertions(+), 1 deletions(-)

M .bin/dev
M .bin/dev => .bin/dev +2 -1
@@ 50,7 50,8 @@ if [[ $1 == "image" || $1 == "i" || $1 == "build" || $1 == "b" ]]; then
        docker tag $2 $DEV_PREFIX
    fi

    if [[ $1 == "build" || $1 == "b" ]]; then
    if [[ $1 == "build" || $1 == "b" ]]; then 
        docker pull patrickhaussmann/dev:root
        docker build --file $DOTFILES_DIR/.builds/user.Dockerfile $DOTFILES_DIR/.builds --build-arg UID=$(id -u) --build-arg GID=$(id -g) --build-arg GROUPNAME=$(id -gn) --build-arg USERNAME="$USER" --build-arg HOMEDIR="$HOME" -t $DEV_PREFIX
    fi