mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-22 08:04:04 +01:00
build-tarball: only rebuild www if it was changed
This commit is contained in:
parent
7bcf8ebf1f
commit
5159cb9ae1
@ -3,8 +3,13 @@
|
||||
set -e
|
||||
|
||||
build_www_dir() {
|
||||
local webpacked_www=$PWD/builder/www
|
||||
local src_www=kasmweb
|
||||
|
||||
if [ "$src_www" -nt "$webpacked_www" ]; then
|
||||
docker build -t kasmweb/www -f builder/dockerfile.www.build .
|
||||
docker run --rm -v $PWD/builder/www:/build kasmweb/www:latest
|
||||
fi
|
||||
}
|
||||
|
||||
shared_with_docker_dir=${GITLAB_SHARED_DIND_DIR:-/tmp}
|
||||
|
Loading…
Reference in New Issue
Block a user