python, golang, git, docker, nmon, glances, htop, java
docker-compose build
prompt to play with angular cli ( https://cli.angular.io/ )
docker run -t -i --rm --entrypoint /bin/bash patarleth/ubuntu-angular-cli -l
docker run -t -i --rm --entrypoint /bin/bash patarleth/ubuntu-maven -l
docker-run-bash() {
docker run -t -i --rm -e "TERM=xterm" --entrypoint /bin/bash "$1" -l
}
export -f docker-run-bash
>docker-run-bash patarleth/ubuntu-maven
>docker-run-bash patarleth/ubuntu-angular-cli
maven() {
local p=$(pwd)
local m2=${M2_HOME:-~/.m2}
local settings="$HOME/maven/conf/settings.xml"
local mavenRepoDir=""
if [[ -d /maven ]]; then
mavenRepoDir='-v /maven:/maven '
fi
if [[ -e "$settings" ]]; then
docker run -e "TERM=xterm" --rm $mavenRepoDir -v "$m2:/root/.m2" -v "$settings:/opt/maven/conf/settings.xml" -v "$p:/root/project" patarleth/ubuntu-maven "$@"
else
docker run -e "TERM=xterm" --rm $mavenRepoDir -v "/maven:/maven" -v "$m2:/root/.m2" -v "$p:/root/project" patarleth/ubuntu-maven "$@"
fi
}
export -f maven
ng-cli() {
local p=$(pwd)
local args=()
args+=($@)
if [[ ${#args[@]} -eq 0 ]]; then
args+=("help")
fi
docker run --rm -e "TERM=xterm" -v "$p:/root/project" patarleth/ubuntu-angular-cli --colors=true "${args[@]}"
}
ng-cli config --help
export -f ng-cli
maven install