mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-26 06:37:21 +10:00
unique
This commit is contained in:
parent
e9a2bac6e8
commit
caee3e6f3a
1 changed files with 6 additions and 3 deletions
|
|
@ -3,10 +3,13 @@ REPO_ROOT=$(dirname $(readlink -f $0))/../..
|
|||
# Export desktop environment shell configuration
|
||||
eval "$($REPO_ROOT/docker/scripts/environment.sh)"
|
||||
|
||||
# Ensure the desktop environment network exists
|
||||
# Ensure the desktop environment test network exists
|
||||
docker network create $DESKTOP_ENVIRONMENT_DOCKER_NETWORK
|
||||
|
||||
# Start the desktop environment container
|
||||
# Set the desktop environment test container name
|
||||
DESKTOP_ENVIRONMENT_CONTAINER_NAME=${DESKTOP_ENVIRONMENT_CONTAINER_IMAGE}-test-$(date +%s)
|
||||
|
||||
# Start the desktop environment test container
|
||||
docker run \
|
||||
--detach \
|
||||
--env DESKTOP_ENVIRONMENT_USER \
|
||||
|
|
@ -20,7 +23,7 @@ docker run \
|
|||
# Wait until the desktop environment test container is running before proceeding
|
||||
until docker inspect $DESKTOP_ENVIRONMENT_CONTAINER_NAME | grep Status | grep -m 1 running >/dev/null; do sleep 1; done
|
||||
|
||||
# Start the vnc server inside the desktop environment container
|
||||
# Start the vnc server inside the desktop environment test container
|
||||
$REPO_ROOT/docker/scripts/exec.sh /home/$DESKTOP_ENVIRONMENT_USER/.config/scripts/startup.sh
|
||||
|
||||
# Check desktop environment vnc server started successfully
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue