Update v1.4.3

This commit is contained in:
vital987 2021-11-09 18:23:21 +00:00
parent 1fad12f07b
commit a9f687d831
4 changed files with 10 additions and 125 deletions

View File

@ -33,41 +33,20 @@ SHELL ["/bin/bash", "-c"]
RUN apt-get update && \
apt-get --no-install-recommends install -y \
#Basic Packages
tzdata software-properties-common apt-transport-https wget zip unzip htop git curl vim nano zip sudo net-tools x11-utils eterm iputils-ping build-essential xvfb x11vnc supervisor \
tzdata software-properties-common apt-transport-https wget zip unzip htop git curl vim nano sudo net-tools x11-utils eterm iputils-ping build-essential xvfb x11vnc websockify supervisor \
#GUI Utilities
gnome-terminal gnome-calculator gnome-system-monitor pcmanfm terminator firefox \
pcmanfm terminator \
#Python
python3 python3-pip python-is-python3 \
#Java
default-jre default-jdk \
#Text Editors
vim-gtk3 mousepad pluma \
#NodeJS
nodejs npm \
#Go
golang \
#Other Languages
#perl \
#ruby \
#lua5.3 \
#scala \
#mono-complete \
#r-base \
#clojure \
#php \
#Extras
libreoffice \
pluma \
gnupg \
dirmngr \
gdebi-core \
nginx \
ffmpeg && \
gdebi-core && \
#Fluxbox & noVNC
apt-get install --no-install-recommends -y /app/.vubuntu/assets/packages/fluxbox.deb /app/.vubuntu/assets/packages/novnc.deb && \
apt-get install --no-install-recommends -y /app/.vubuntu/assets/packages/fluxbox-minimal.deb /app/.vubuntu/assets/packages/novnc.deb && \
cp /usr/share/novnc/vnc.html /usr/share/novnc/index.html && \
openssl req -new -newkey rsa:4096 -days 36500 -nodes -x509 -subj "/C=IN/ST=Maharastra/L=Private/O=Dis/CN=www.google.com" -keyout /etc/ssl/novnc.key -out /etc/ssl/novnc.cert && \
#Websockify
npm i websockify && \
#MATE Desktop (remove "/app/.vubuntu/assets/packages/fluxbox.deb" from line 66 before uncommenting)
#apt-get install -y \
#ubuntu-mate-core \
@ -87,20 +66,13 @@ RUN apt-get update && \
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|tee /etc/apt/sources.list.d/brave-browser-release.list && \
#PeaZip - source
wget https://github.com/peazip/PeaZip/releases/download/8.2.0/peazip_8.2.0.LINUX.GTK2-1_amd64.deb -P /tmp && \
#Sublime - source
curl -fsSL https://download.sublimetext.com/sublimehq-pub.gpg | apt-key add - && \
add-apt-repository "deb https://download.sublimetext.com/ apt/stable/" && \
#Telegram - source
wget https://updates.tdesktop.com/tlinux/tsetup.3.2.2.tar.xz -P /tmp && \
tar -xvf /tmp/tsetup.3.2.2.tar.xz -C /tmp && \
mv /tmp/Telegram/Telegram /usr/bin/telegram && \
#PowerShell - source
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -P /tmp && \
#Installation
apt-get update && \
apt-get install --no-install-recommends code brave-browser /tmp/peazip_8.2.0.LINUX.GTK2-1_amd64.deb sublime-text /tmp/packages-microsoft-prod.deb -y && \
apt-get update && \
apt-get install --no-install-recommends -y powershell && \
apt-get install --no-install-recommends code brave-browser /tmp/peazip_8.2.0.LINUX.GTK2-1_amd64.deb -y && \
#Ngrok
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -P /tmp && \
unzip /tmp/ngrok-stable-linux-amd64.zip -d /usr/bin && \

View File

@ -1,91 +1,4 @@
# VNC + Ubuntu = Vubuntu ¯\\_\(ツ\)\_\/¯
[![Ubuntu Version](https://img.shields.io/static/v1?label=Ubuntu&message=20.04&color=E95420&logo=ubuntu)](https://ubuntu.com) [![Maintainer](https://img.shields.io/static/v1?label=Maintainer&message=Vital987&color=1e90ff)](https://github.com/vital987) [![Maintainance](https://img.shields.io/badge/Maintenance%20Level-Active-success.svg)](https://github.com/vital987) [![Docker Pulls](https://img.shields.io/docker/pulls/vital987/vubuntu.svg)](https://hub.docker.com/r/vital987/vubuntu) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)]()<br>[![Latest](https://raw.githubusercontent.com/vital987/vubuntu/master/assets/repo_files/button-latest.png)](https://heroku.com/deploy?template=https://github.com/vital987/vubuntu/) [![Minimal](https://raw.githubusercontent.com/vital987/vubuntu/master/assets/repo_files/button-minimal.png)](https://heroku.com/deploy?template=https://github.com/vital987/vubuntu/tree/minimal) [![PureVNC](https://raw.githubusercontent.com/vital987/vubuntu/master/assets/repo_files/button-purevnc.png)](https://heroku.com/deploy?template=https://github.com/vital987/vubuntu/tree/purevnc) [![PureVNC-Minimal](https://raw.githubusercontent.com/vital987/vubuntu/master/assets/repo_files/button-purevnc-minimal.png)](https://heroku.com/deploy?template=https://github.com/vital987/vubuntu/tree/purevnc-minimal)
## **Table of Contents :**
* [**Available Options**](#available-options-)
* [**Packages**](#packages-)
* [**Screenshots**](#screenshots-)
* [**Environment Variables**](#environment-variables-)
* [**Installation**](#installation-)
* [**Warnings**](#warnings-)
## **Available Options :**
* **[Latest](https://github.com/vital987/vubuntu/):** Full version of vubuntu with utilities, additional installed languages (Java & Go) & optional packages.
* **[Minimal](https://github.com/vital987/vubuntu/tree/minimal):** Minimal version with only required packages, see next section for more info.
* **[PureVNC](https://github.com/vital987/vubuntu/tree/purevnc):** Full, direct VNC access without noVNC.
* **[PureVNC-Minimal](https://github.com/vital987/vubuntu/tree/purevnc):** Minimal, direct VNC access without noVNC.
## **Packages :**
* •: Available in minimal version
* **Browsers :**
* [![Firefox](https://img.shields.io/static/v1?label=Firefox&message=%20&color=orange&logo=firefox-browser)]() [![Brave](https://img.shields.io/static/v1?label=Brave&message=•&color=fa552a&logo=brave)]()
* **Shells :**
* [![Gnome Terminal](https://img.shields.io/static/v1?label=GnomeTerminal&message=%20&color=green&logo=gnome&logoColor=green)]() [![Terminator](https://img.shields.io/static/v1?label=Terminator&message=•&color=red&logo=powershell&logoColor=red)]() [![PowerShell](https://img.shields.io/static/v1?label=PowerShell&message=%20&color=5391FE&logo=powershell&logoColor=5391FE)]()
* **Coding :**
* [![VS Code](https://img.shields.io/static/v1?label=VS%20Code&message=•&color=1e90ff&logo=visual-studio-code&logoColor=1e90ff)]()
* **Text Editors :**
* [![G-Vim](https://img.shields.io/static/v1?label=G-Vim&message=%20&color=brightgreen&logo=vim&logoColor=brightgreen)]() [![Pluma](https://img.shields.io/static/v1?label=Pluma&message=•&color=green&logo=textpattern&logoColor=green)]() [![Sublime](https://img.shields.io/static/v1?label=Sublime%20Text&message=%20&color=orange&logo=sublime-text&logoColor=orange)]()
* **Office Suite :**
* [![LibreOffice](https://img.shields.io/static/v1?label=Libre%20Office&message=%20&color=brightgreen&logo=libreoffice&logoColor=brightgreen)]()
* **Social Apps :**
* [![Telegram](https://img.shields.io/static/v1?label=Telegram&message=•&color=26A5E4&logo=telegram&logoColor=26A5E4)]()
* **Utilities :**
* [![File Manager](https://img.shields.io/static/v1?label=File%20Manager&message=•&color=EFF700&logo=files&logoColor=EFF700)]() [![Calculator](https://img.shields.io/static/v1?label=Calculator&message=%20&color=017A79&logo=craft-cms&logoColor=017A79)]() [![System Monitor](https://img.shields.io/static/v1?label=System%20Monitor&message=%20&color=111324&logo=campaign-monitor&logoColor=111324)]() [![Ngrok](https://img.shields.io/static/v1?label=Ngrok&message=•&color=1853DB&logo=ngrok&logoColor=1853DB)]() [![PeaZip](https://img.shields.io/static/v1?label=PeaZip&message=•&color=6300F7&logo=git-lfs&logoColor=6300F7)]()
* **Languages Installed:**
* [![C](https://img.shields.io/static/v1?label=C&message=•&logo=c)]() [![C++](https://img.shields.io/static/v1?label=C%2b%2b&message=•&logo=c%2b%2b&logoColor=1e90ff&color=1e90ff)]() [![Go](https://img.shields.io/static/v1?label=Go&message=%20&logo=go&logoColor=1e90ff&color=1e90ff)]() [![Java](https://img.shields.io/static/v1?label=Java&message=%20&logo=java&logoColor=f89820&color=f89820)]() [![Python](https://img.shields.io/static/v1?label=Python&message=•&logo=python&color=blue)]()
## **Screenshots :**
<div>
<details open>
<summary>Laptop/Desktop</summary>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/screenshots/desktop_ss1.png" align="center" width=450 height=250>&nbsp;
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/screenshots/desktop_ss2.png" align="center" width=450 height=250><br><br>
</details>
<details>
<summary>Smartphone/Tablet</summary>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/screenshots/phone_ss1.png" align="center" width=450 height=250>&nbsp;
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/screenshots/phone_ss2.png" align="center" width=450 height=250><br><br>
</details>
</div>
## **Environment Variables :**
| VNC_PASS | VNC Server Password |
|:-:|:-:|
| VNC_TITLE | VNC Session Title |
| VNC_RESOLUTION | VNC Server Resolution |
| VNC_SHARED | VNC Shared Mode |
| DISPLAY | Display Server Port |
| PORT | NoVNC HTTP Port |
| NGROK_AUTH_TOKEN | Ngrok Token |
| NGROK_REGION | Ngrok Server Region (Only PureVNC) |
| NO_SLEEP | Prevent Heroku app from sleeping, disabled by default |
| APP_NAME | Name of Heroku app |
| BRAVE_USE_SHM | Usage of /dev/shm for Brave |
## **Installation :**
* Heroku Users :
* Click on [Deploy Now](https://heroku.com/deploy?template=https://github.com/vubuntu) button.
* Set the app name & variables.
* Deploy.
* Manual Method :
* Edit & Run Command :
```
docker run --name vubuntu \
-e VNC_PASS="samplepass" \
-e VNC_TITLE="Vubuntu" \
-e VNC_RESOLUTION="1280x720" \
-e DISPLAY=:0 \
-e PORT=9870 \
-d -p 8080:9870 \
vital987/vubuntu:latest
* noVNC Web-UI will be accessible on port **8080**
## **Warnings :**
* [ ! ] **VNC_TITLE & VNC_PASS values should be without spaces.**
* [ ! ] **The whole project runs as a root user and non-sandboxed chromium in a docker container.**
* [ ! ] **Using VNC/Remote Desktops are strictly prohibited/banned on many free platforms.**
* [ ! ] **Deploy/Use at your own risk & responsibility!**
#### Goto [master](https://github.com/vital987/vubuntu) branch for docs.

View File

@ -1,6 +1,6 @@
{
"name": "Vubuntu",
"description": "Fully fledged Ubuntu NoVNC, refer readme for more info.",
"name": "Vubuntu minimal",
"description": "Ubuntu - NoVNC, refer readme for more info.",
"repository": "https://github.com/vital987/vubuntu.git",
"logo": "https://raw.githubusercontent.com/vital987/vubuntu/master/assets/icons/64x64.png",
"keywords": ["docker","ubuntu", "vscode", "novnc", "firefox", "brave", "fluxbox", "linux", "remote", "ssh", "vnc", "vubuntu"],
@ -30,5 +30,5 @@
"value" : "",
"required" : true
}
}
}
}

Binary file not shown.