mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
add icon
This commit is contained in:
parent
03c1913e2b
commit
4a2023aa8d
2 changed files with 24 additions and 1 deletions
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
|
|
@ -1 +1 @@
|
||||||
.github/** @devops
|
.github/** @UVeye/devops
|
||||||
|
|
@ -121,6 +121,29 @@ COPY rootfs /
|
||||||
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \
|
||||||
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||||
|
|
||||||
|
# Create application Icon
|
||||||
|
|
||||||
|
RUN cat << eof >> /usr/share/applications/uvportal.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=UVportal
|
||||||
|
Type=Application
|
||||||
|
Icon=google-chrome
|
||||||
|
Exec=/usr/bin/google-chrome http://uvportal.uveye.local
|
||||||
|
Terminal=false
|
||||||
|
eof
|
||||||
|
|
||||||
|
|
||||||
|
RUN cat << eof >> portal.desktop
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Link
|
||||||
|
Name=UVportal
|
||||||
|
Icon=google-chrome
|
||||||
|
URL=/usr/share/applications/uvportal.desktop
|
||||||
|
eof
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
eof
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
ENV HOME=/home/ubuntu \
|
ENV HOME=/home/ubuntu \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue