Skip to content

Commit

Permalink
feat: vnc upgrades (#156)
Browse files Browse the repository at this point in the history
* add vnc upgrades: clipboard and other feats

* remove power button, additional keys

* force title and colours

* force remote resizing
  • Loading branch information
gavin-k-lee authored May 19, 2021
1 parent 7df1a72 commit cc2b9ad
Show file tree
Hide file tree
Showing 8 changed files with 2,872 additions and 236 deletions.
Binary file added docker/vnc/CircularMedium.ttf
Binary file not shown.
Binary file added docker/vnc/CircularMedium.woff
Binary file not shown.
10 changes: 7 additions & 3 deletions docker/vnc/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=renku/renkulab-py:3.8-0.7.5
ARG BASE_IMAGE=renku/renkulab-py:3.8-0.7.6
FROM ${BASE_IMAGE}

LABEL maintainer="Swiss Data Science Center <[email protected]>"
Expand Down Expand Up @@ -36,10 +36,14 @@ ENV novnc_version=1.1.0
RUN cd /opt && \
curl -sSfL https://github.com/novnc/noVNC/archive/v${novnc_version}.tar.gz | tar -zxf -

RUN sed -i -e "s,'websockify',window.location.pathname.slice(1),g" /opt/noVNC-${novnc_version}/app/ui.js \
&& chmod a+rX -R /opt/noVNC-${novnc_version}
RUN chmod a+rX -R /opt/noVNC-${novnc_version}

COPY --chown=root:root vnc_renku.html /opt/noVNC-${novnc_version}
COPY --chown=root:root renku-48x48.png /opt/noVNC-${novnc_version}/app/images/icons

COPY --chown=root:root ui.js /opt/noVNC-${novnc_version}/app/ui.js
COPY --chown=root:root base.css /opt/noVNC-${novnc_version}/app/styles/base.css
COPY --chown=root:root CircularMedium.* /opt/noVNC-${novnc_version}/app/styles/

#################################################################
# Install TigerVNC
Expand Down
Loading

0 comments on commit cc2b9ad

Please sign in to comment.