Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add enterprise-desktop image #285

Merged
merged 2 commits into from
Oct 16, 2024
Merged

feat: add enterprise-desktop image #285

merged 2 commits into from
Oct 16, 2024

Conversation

matifali
Copy link
Member

@matifali matifali commented Oct 16, 2024

Introduce a new desktop image wrapping the base image with XFCE,
intended to serve as a base for templates using KasmVNC module.

Closes #284

Introduce a new desktop image wrapping the base image with XFCE,
intended to serve as a base for templates using KasmVNC.
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@matifali matifali self-assigned this Oct 16, 2024
echo 'export XDG_CURRENT_DESKTOP=xfce' >> /home/$USER/.xsessionrc; \
echo 'export XDG_SESSION_TYPE=x11' >> /home/$USER/.xsessionrc;

USER coder
Copy link
Contributor

@jatcod3r jatcod3r Oct 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this just might be an issue on my end, but running the format checker against the Dockerfile I get this:

$ dprint check --plugins https://plugins.dprint.dev/dockerfile-0.3.0.wasm https://plugins.dprint.dev/markdown-0.17.0.wasm
from /Users/****/Desktop/Projects/test-templates/enterprise-desktop/ubuntu.Dockerfile:
13 13| ····echo·'export·XDG_CURRENT_DESKTOP=xfce'·>>·/home/$USER/.xsessionrc;·\
14 14| ····echo·'export·XDG_SESSION_TYPE=x11'·>>·/home/$USER/.xsessionrc;
15 15| 
   16|-USER·coder␃
16   |+USER·coder
--

Shows an error with there being no newline at the end of USER coder. Adding a newline fixes it, but never ran into this when reintroducing the golang, node, and java images.

If you do see this error though during the build job, this might be the solution just in case. Everything looks good though!

@matifali matifali merged commit 55f49df into main Oct 16, 2024
8 checks passed
@matifali matifali deleted the atif/desktop branch October 16, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create a minimal image with a desktop environment
4 participants