docker compose
This commit is contained in:
18
docker/build
Executable file
18
docker/build
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
VERSION=":latest"
|
||||
|
||||
while getopts ":r" opt; do
|
||||
case ${opt} in
|
||||
r )
|
||||
VERSION=":release"
|
||||
;;
|
||||
\? )
|
||||
echo "Invalid option: -$OPTARG" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
echo "Version $VERSION"
|
||||
docker build --no-cache -t docker.odoo4projects.com/od8n/n8n$VERSION .
|
||||
|
||||
Reference in New Issue
Block a user