mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 01:24:04 +01:00
Use/build ./builder/www when building tarball
This commit is contained in:
parent
d98157f3fc
commit
955183dcf0
@ -2,8 +2,15 @@
|
||||
|
||||
set -e
|
||||
|
||||
build_www_dir() {
|
||||
sudo docker build -t kasmweb/www -f builder/dockerfile.www.build .
|
||||
sudo docker run -it --rm -v $PWD/builder/www:/build kasmweb/www:latest
|
||||
}
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
build_www_dir
|
||||
|
||||
sudo docker pull ubuntu:18.04
|
||||
sudo docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
|
||||
mkdir -p builder/build
|
||||
|
@ -51,7 +51,7 @@ if [ $SERVER = 1 ]; then
|
||||
mkdir -p $OUTDIR/lib/dri/
|
||||
install -m 755 ./xorg.build/lib/dri/swrast_dri.so $OUTDIR/lib/dri/
|
||||
mkdir -p $OUTDIR/share/kasmvnc
|
||||
cp -r $SRCDIR/kasmweb $OUTDIR/share/kasmvnc/www
|
||||
cp -r $SRCDIR/builder/www $OUTDIR/share/kasmvnc/www
|
||||
fi
|
||||
|
||||
#pushd $TMPDIR/inst
|
||||
|
Loading…
Reference in New Issue
Block a user