diff --git a/firefox/build b/firefox/build deleted file mode 100755 index a2c001e..0000000 --- a/firefox/build +++ /dev/null @@ -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 diff --git a/firefox/up b/firefox/up new file mode 100755 index 0000000..256603a --- /dev/null +++ b/firefox/up @@ -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 diff --git a/novnc/build b/novnc/up similarity index 55% rename from novnc/build rename to novnc/up index 8557756..7054851 100755 --- a/novnc/build +++ b/novnc/up @@ -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 diff --git a/plasma/build b/plasma/build deleted file mode 100755 index a3fd2fb..0000000 --- a/plasma/build +++ /dev/null @@ -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 diff --git a/plasma/up b/plasma/up new file mode 100755 index 0000000..256603a --- /dev/null +++ b/plasma/up @@ -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