#5 - Add coder-xfce-vnc image variant and move user setup to runtime #6
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
actions/sindri!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "5-differentiate-coder-deployment-and-devcontainer-images"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #5.
Summary
coder-xfce-vncimage variant on top of the existingcodervariant, providing an XFCE desktop served over noVNC, with Firefox and JetBrains Toolbox preinstalled.docker-dev.yaml,docker-tag.yaml) so it builds and tags alongside the headlesscoderimage (coder-xfce-vnc-<sha>,coder-xfce-vnc-latest).scripts/coder-init.sh, executed at workspace start so it works correctly with PVC-mounted/home/coder.scripts/coder-init-desktop.shfor desktop-only setup (Firefox APT repo, JetBrains Toolbox), andscripts/start-xfce-vnc.shas a standalone, idempotent launcher (re-invocation no longer kills active sessions).index.htmlshim that auto-redirects withautoconnect=1and supports path-based reverse proxies — important since the Coder template usessubdomain = false.jetbrains-toolbox.desktopentry so Toolbox is discoverable from the XFCE menu.Notes
latesttag is now scoped to the headless variant (coder-latest); the bare:latesttag was dropped fromdocker-tag.yamlto avoid ambiguity now that there are two variants.NODE_VERSION/ global-gitignore URL args were removed in favor of runtime configuration insidecoder-init.sh.desktop_main.tf,desktop_readme.md) and is not part of this PR.Test plan
coder-<sha>andcoder-xfce-vnc-<sha>images successfully on push.coder-<tag>,coder-latest,coder-xfce-vnc-<tag>,coder-xfce-vnc-latest.coder-init.shprovisions NVM/Node/Yarn into a fresh/home/coderPVC.start-xfce-vnc.sh).coder-xfce-vncvariant with XFCE desktop and noVNC supportcoder-xfce-vncvariant: Update dependencies, optimize startup script, and improve VNC/noVNC configurationcoder-init.shfor per-user workspace initialization.bashrcincoder-init.shfor environment variable initializationstart-xfce-vncscript from inline Dockerfile definition to standalone file for better maintainabilitycoder-init-desktop.shand update Dockerfile for XFCE enhancements--disable-gpuflag from JetBrains Toolbox desktop entry--disable-gpuflag from JetBrains Toolbox desktop entry