mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 19:46:21 +00:00
Update build command
This commit is contained in:
parent
526461fc5b
commit
bb228df823
5 changed files with 29 additions and 18 deletions
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
# Docker build
|
||||
# Optional buildtag
|
||||
# DOCKER_BUILDKIT=1 \
|
||||
# docker build . \
|
||||
# --build-arg debug=${debug:-""} \
|
||||
# --tag ${buildtag:-myvnc/firefox}
|
||||
|
||||
docker compose up --build --detach
|
||||
11
firefox/up
Executable file
11
firefox/up
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# Docker build
|
||||
# Optional buildtag
|
||||
# DOCKER_BUILDKIT=1 \
|
||||
# docker build . \
|
||||
# --build-arg debug=${debug:-""} \
|
||||
# --tag ${buildtag:-myvnc/novnc}
|
||||
case ${1} in
|
||||
build) docker compose up --build --detach;;
|
||||
*) docker compose up --detach;;
|
||||
esac
|
||||
|
|
@ -5,9 +5,14 @@
|
|||
# docker build . \
|
||||
# --build-arg debug=${debug:-""} \
|
||||
# --tag ${buildtag:-myvnc/novnc}
|
||||
case ${2} in
|
||||
build) build="--build"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ ${1} =~ ^[0-9]+$ ]]
|
||||
then
|
||||
MYVNC_NOVNC_VNCSSH_PORT=${1} docker compose up --build --detach
|
||||
MYVNC_NOVNC_VNCSSH_PORT=${1} docker compose up ${build} --detach
|
||||
else
|
||||
docker compose up --build --detach
|
||||
docker compose up ${build} --detach
|
||||
fi
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
# Docker build
|
||||
# Optional: buildtag
|
||||
# DOCKER_BUILDKIT=1 \
|
||||
# docker build . \
|
||||
# --tag ${buildtag:-myvnc/webtop:plasma}
|
||||
docker compose up --build --detach
|
||||
11
plasma/up
Executable file
11
plasma/up
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# Docker build
|
||||
# Optional buildtag
|
||||
# DOCKER_BUILDKIT=1 \
|
||||
# docker build . \
|
||||
# --build-arg debug=${debug:-""} \
|
||||
# --tag ${buildtag:-myvnc/novnc}
|
||||
case ${1} in
|
||||
build) docker compose up --build --detach;;
|
||||
*) docker compose up --detach;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue