mirror of
https://git.myvelabs.com/novnc/archlinux.git
synced 2025-12-17 21:26:20 +00:00
27 lines
548 B
Bash
Executable file
27 lines
548 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Docker build
|
|
# Optional buildtag
|
|
# DOCKER_BUILDKIT=1 \
|
|
# docker build . \
|
|
# --build-arg debug=${debug:-""} \
|
|
# --tag ${buildtag:-myvnc/novnc}
|
|
# Grab options
|
|
while [ ${1} ]
|
|
do
|
|
case ${1} in
|
|
-b | --build | b | build )
|
|
build="--build"
|
|
;;
|
|
-d | --detach | d | detach )
|
|
detach="--detach"
|
|
;;
|
|
bd | db )
|
|
build="--build"
|
|
detach="--detach"
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
# Compose up
|
|
docker compose up ${build} ${detach}
|