Skip to content
Snippets Groups Projects
Commit 1670c1f1 authored by victarr's avatar victarr
Browse files

Add new file

parent 83a63598
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
CWD=$(pwd)
cd ~/my-dockers
if [ "${1}" != "" ]
then
WAMI=$(whoami)
docker build -t ${WAMI}/${1} ${1}/build 2>&1 | tee -a ${1}/$(date +"%Y%m%d")_build.log
else
echo "Debe especificar uno de [$(ls -1)]."
fi
cd ${CWD}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment