|
1 | | -# Docker images with software for develop C# and Typescript applications |
| 1 | +# DevPC - Containerized Development Environment |
2 | 2 |
|
3 | | -This repository contains a Docker image with minimal Desktop installation and software for develop C# and Typescript applications. |
| 3 | +A fully-featured Docker image providing a complete desktop development environment for C# and TypeScript applications. This container includes a minimal desktop interface accessible via VNC, pre-configured with essential development tools. |
4 | 4 |
|
5 | | -Includes packages: |
| 5 | +## Features |
6 | 6 |
|
7 | | -- Fedora minimal, |
8 | | -- OpenBox, |
9 | | -- LXQt, |
10 | | -- TigerVNC-Server, |
11 | | -- Dotnet, |
12 | | -- VS Code (with Typescript and C# extensions), |
13 | | -- NodeJS (with global TypeScript, Npm-check-updates), |
14 | | -- Git, |
15 | | -- Falcon Browser. |
| 7 | +### Included Software |
16 | 8 |
|
17 | | -The Image is automatically rebuilt every day, at midnight by GMT. |
| 9 | +- **Operating System**: Fedora Minimal |
| 10 | +- **Desktop Environment**: LXQt with OpenBox window manager |
| 11 | +- **Remote Access**: TigerVNC Server |
| 12 | +- **Development Tools**: |
| 13 | + - .NET SDK |
| 14 | + - Visual Studio Code (with C# and TypeScript extensions) |
| 15 | + - Node.js with TypeScript and npm-check-updates |
| 16 | + - Git version control |
| 17 | +- **Web Browser**: Falcon Browser |
18 | 18 |
|
19 | | -All other software you can install yourself. |
| 19 | +### Automatic Updates |
20 | 20 |
|
21 | | - |
| 21 | +The image is automatically rebuilt daily at midnight GMT to ensure the latest security patches and software updates. |
22 | 22 |
|
23 | | -## GitHub |
| 23 | +> **Note**: You can install additional software as needed within the container. |
24 | 24 |
|
25 | | -The source code is located on the GitHub repository here: |
| 25 | + |
26 | 26 |
|
27 | | -[https://github.com/LabEG/devpc](https://github.com/LabEG/devpc) |
| 27 | +## Quick Start |
28 | 28 |
|
29 | | -## Try |
| 29 | +### Evaluation Mode |
30 | 30 |
|
31 | | -If you just want to try the features: |
| 31 | +To quickly test the environment without persistence: |
32 | 32 |
|
33 | | -```sh |
| 33 | +```bash |
34 | 34 | docker run -it --rm -e password='YOUR_VNC_PASSWORD' -p 5901:5901 labeg/devpc |
35 | 35 | ``` |
36 | 36 |
|
37 | | -## Use |
| 37 | +### Production Mode |
38 | 38 |
|
39 | | -If you want to use the container regularly: |
| 39 | +For regular use with automatic restart: |
40 | 40 |
|
41 | | -```sh |
| 41 | +```bash |
42 | 42 | docker run -d --restart always -e password='YOUR_VNC_PASSWORD' -p 5901:5901 labeg/devpc |
43 | 43 | ``` |
44 | 44 |
|
45 | | -## Parameters |
| 45 | +After starting the container, connect using any VNC client at `localhost:5901` with your specified password. |
46 | 46 |
|
47 | | -- `-e password='YOUR_VNC_PASSWORD'` - required, password for VNC connections. |
48 | | -- `-e user_password='YOUR_USER_PASSWORD'` - optional, password for user *headless*. By default, will be used *password* variable. |
49 | | -- `-e root_password='YOUR_ROOT_PASSWORD'` - optional, password for *root* user. By default, will be used *user_password* variable, if it is not specified then *password* variable. |
50 | | -- `-e resolution='1920x1080'` - optional, resolution for virtual screen. |
51 | | -- `--shm-size='64m'` - optional, extend if firefox browser is crashing. |
| 47 | +## Configuration |
52 | 48 |
|
53 | | -## FAQ |
| 49 | +### Environment Variables |
54 | 50 |
|
55 | | -- For change LXQT Theme open Menu > Preferences > Appearance > LXQt Theme and select nice to you theme, example Kde-Plasma. |
56 | | -- For change OpenBox theme open Menu > Preferences > LXQt settings > Opebox Settings and select nice to you theme, example Clearlooks. |
| 51 | +| Variable | Required | Default | Description | |
| 52 | +|----------|----------|---------|-------------| |
| 53 | +| `password` | **Yes** | - | VNC connection password | |
| 54 | +| `user_password` | No | `password` | Password for the `headless` user | |
| 55 | +| `root_password` | No | `user_password` | Password for the `root` user | |
| 56 | +| `resolution` | No | `1280x1024` | Virtual screen resolution (e.g., `1920x1080`) | |
57 | 57 |
|
58 | | -## Build |
| 58 | +### Docker Options |
59 | 59 |
|
60 | | -```sh |
| 60 | +| Option | Purpose | |
| 61 | +|--------|---------| |
| 62 | +| `--shm-size='64m'` | Increase shared memory size if browsers crash | |
| 63 | +| `-p 5901:5901` | Expose VNC port | |
| 64 | +| `--restart always` | Auto-restart container on failure | |
| 65 | + |
| 66 | +## Customization |
| 67 | + |
| 68 | +### Changing the LXQt Theme |
| 69 | + |
| 70 | +1. Open Menu → Preferences → Appearance → LXQt Theme |
| 71 | +2. Select your preferred theme (e.g., Kde-Plasma) |
| 72 | + |
| 73 | +### Changing the OpenBox Theme |
| 74 | + |
| 75 | +1. Open Menu → Preferences → LXQt Settings → OpenBox Settings |
| 76 | +2. Select your preferred theme (e.g., Clearlooks) |
| 77 | + |
| 78 | +## Building from Source |
| 79 | + |
| 80 | +To build the image locally: |
| 81 | + |
| 82 | +```bash |
61 | 83 | docker build -t labeg/devpc . |
62 | 84 | ``` |
| 85 | + |
| 86 | +## Repository |
| 87 | + |
| 88 | +Source code: [https://github.com/LabEG/devpc](https://github.com/LabEG/devpc) |
| 89 | + |
| 90 | +## License |
| 91 | + |
| 92 | +See [LICENSE](LICENSE) file for details. |
0 commit comments