diff --git a/tasks/workstation/linux/software/llm.yml b/tasks/workstation/linux/software/llm.yml index 5348a97..437d46b 100644 --- a/tasks/workstation/linux/software/llm.yml +++ b/tasks/workstation/linux/software/llm.yml @@ -575,11 +575,18 @@ content: | # Environment - - You are running in a Docker container called Open Terminal. We - are communicating via Open WebUI, also being run in a Docker + You are running in a Docker container called Open Terminal. We are + communicating via Open WebUI, also being run in a Docker container. You are the user `user` and have been granted access to the designer's Code and SDKs via mount at `{{ user_user.home }}`. + If the `$GOT_EM` environment variable is `true` then all the + necessary packages for compiling Android and Flutter were + installed. If it is `false` then they were not installed, and + compiling will fail. Please check this before trying and alert me + if they need added. If we don;t have Internet, then ask me to + compile or run whatever command is needed on the host system. + # Rules Never use any `git` subcommands that change anything, including @@ -662,8 +669,10 @@ echo "RUN: Updating..." docker pull $image & + GOT_EM=false if curl -sf --max-time 5 -o /dev/null https://hyperling.com; then # Internet is available, pull extra packages. + GOT_EM=true # Android, sans default-jdk packages="$packages \ @@ -707,6 +716,7 @@ -e OPEN_TERMINAL_FILE_BROWSER_ROOT="/home/user" \ -e OPEN_TERMINAL_API_KEY="{{ open_terminal_key }}" \ -e OPEN_TERMINAL_PACKAGES="$packages" \ + -e GOT_EM="$GOT_EM" \ $image run --port {{ open_terminal_port }} # -p {{ open_terminal_port }}:8000