Skip to content

Commit

Permalink
updated ubuntu & chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
vital987 committed May 14, 2022
1 parent b21105d commit 609b5e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

LABEL AboutImage "Ubuntu20.04_Chromium_NoVNC"
LABEL AboutImage "Ubuntu22.04_Chromium_NoVNC"

LABEL Maintainer "Apoorv Vyavahare <[email protected]>"

Expand Down Expand Up @@ -32,7 +32,7 @@ SHELL ["/bin/bash", "-c"]
RUN apt-get update && \
apt-get install -y tzdata ca-certificates supervisor curl wget python3 python3-pip sed unzip xvfb x11vnc websockify openbox libnss3 libgbm-dev libasound2 && \
#Chromium
wget https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/938008/chrome-linux.zip -P /tmp && \
wget https://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/1003039/chrome-linux.zip -P /tmp && \
unzip /tmp/chrome-linux.zip -d /opt && \
#noVNC
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 && \
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

[![Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/vital987/chrome-novnc)

```
docker run --name chrome-novnc -e PORT=9870 -p 9870:8080 -e VNC_PASS samplepass vital987/chrome-novnc:latest
```

<p><b><h3>[ ! ] This project runs directly as a root user with non-sandboxed chromium! <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;do not use in production environments.</h3></b></p>

## Environment variables:
Expand Down
2 changes: 2 additions & 0 deletions rootfs/config/supervisor/6-self-ping.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[program:Self-ping]
command=python3 /config/self-ping.py
stderr_logfile=/var/log/selfping.err.log
exitcodes=0
startsecs=0
priority=6

0 comments on commit 609b5e2

Please sign in to comment.