-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add enterprise-desktop image (#285)
Introduce a new desktop image wrapping the base image with XFCE, intended to serve as a base for templates using the KasmVNC module.
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Desktop | ||
|
||
[![DockerPulls](https://img.shields.io/docker/pulls/codercom/enterprise-desktop)](https://hub.docker.com/r/codercom/enterprise-desktop) | ||
|
||
## Description | ||
|
||
Wraps [enterprise-base](../base/README.md) with a xfce desktop environment. | ||
|
||
> **Note:** This image does not contain a vnc-server. | ||
> A VNC server can be added by using the [KasmVNC](https://registry.coder.com/modules/kasmvnc) module. | ||
## How To Use | ||
|
||
This image is intended to be used as a base image for a templates using the | ||
[KasmVNC](https://registry.coder.com/modules/kasmvnc) module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM codercom/enterprise-base:latest | ||
|
||
USER root | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
apt-get install -y --no-install-recommends --no-install-suggests dbus-x11 openssl ssl-cert libdatetime-perl xfce4 xfce4-goodies && \ | ||
rm /run/reboot-required* || true | ||
|
||
# Setting the required environment variables | ||
ARG USER=coder | ||
RUN echo 'LANG=en_US.UTF-8' >> /etc/default/locale; \ | ||
echo 'export GNOME_SHELL_SESSION_MODE=ubuntu' > /home/$USER/.xsessionrc; \ | ||
echo 'export XDG_CURRENT_DESKTOP=xfce' >> /home/$USER/.xsessionrc; \ | ||
echo 'export XDG_SESSION_TYPE=x11' >> /home/$USER/.xsessionrc; | ||
|
||
USER coder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ IMAGES=( | |
"golang" | ||
"java" | ||
"node" | ||
"desktop" | ||
) |