Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Jupyter Desktop Oasys
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Panosc
Jupyter Desktop Oasys
Commits
06b809e8
Commit
06b809e8
authored
5 years ago
by
Simon Li
Browse files
Options
Downloads
Patches
Plain Diff
Install novnc without dependencies
parent
859049ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+5
-4
5 additions, 4 deletions
Dockerfile
with
5 additions
and
4 deletions
Dockerfile
+
5
−
4
View file @
06b809e8
...
@@ -4,13 +4,17 @@ USER root
...
@@ -4,13 +4,17 @@ USER root
RUN
apt-get update
-y
-q
&&
\
RUN
apt-get update
-y
-q
&&
\
apt-get
install
-y
-q
\
apt-get
install
-y
-q
\
curl
\
curl
\
novnc
\
patch
\
patch
\
tigervnc-standalone-server
\
tigervnc-standalone-server
\
vim
vim
RUN
apt-get
install
-y
-q
\
RUN
apt-get
install
-y
-q
\
lxde
lxde
# Novnc: just want web files, we'll install our own newer websockify
RUN
apt-get download
-q
novnc
&&
\
dpkg
--force-all
-i
novnc
*
.deb
&&
\
rm
novnc
*
.deb
# Patch novnc to automatically connect
# Patch novnc to automatically connect
# Download missing fonts
# Download missing fonts
ADD
websocket-path-ui-js.patch /usr/share/novnc/include
ADD
websocket-path-ui-js.patch /usr/share/novnc/include
...
@@ -19,9 +23,6 @@ RUN cd /usr/share/novnc/include/ && \
...
@@ -19,9 +23,6 @@ RUN cd /usr/share/novnc/include/ && \
curl
-sSfLO
https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.ttf
&&
\
curl
-sSfLO
https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.ttf
&&
\
curl
-sSfLO
https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.woff
curl
-sSfLO
https://raw.githubusercontent.com/novnc/noVNC/v1.1.0/app/styles/Orbitron700.woff
# Force remove websockify and install a more recent version
RUN
dpkg
-r
--force-depends
websockify
USER
jovyan
USER
jovyan
# Custom jupyter-server-proxy to load vnc.html instead of /
# Custom jupyter-server-proxy to load vnc.html instead of /
RUN
/opt/conda/bin/pip
install
https://github.com/manics/jupyter-server-proxy/archive/indexpage.zip
RUN
/opt/conda/bin/pip
install
https://github.com/manics/jupyter-server-proxy/archive/indexpage.zip
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment