mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-07 08:44:07 +01:00
Add run-browser-image to build and run browser images
This commit is contained in:
parent
6213a487db
commit
fa9ddab929
13
run-browser-image
Executable file
13
run-browser-image
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
browser="$1"
|
||||
if [[ -z "$browser" ]]; then
|
||||
echo "Usage $(basename "$0") <browser_name>"
|
||||
echo " Example: $(basename "$0") edge"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker build -t kasmweb/"$browser":dev -f dockerfile-kasm-"$browser" .
|
||||
docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/"$browser":dev
|
Loading…
Reference in New Issue
Block a user