alpine/chromium/up

27 lines
548 B
Text
Raw Permalink Normal View History

2025-01-26 03:33:34 +00:00
#!/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}