mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
No desktop option
This commit is contained in:
parent
8c3f117482
commit
199d83249f
8 changed files with 157 additions and 280 deletions
|
|
@ -13,11 +13,16 @@ blocks:
|
|||
- checkout
|
||||
- git submodule update --init --recursive
|
||||
- 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true'
|
||||
- 'cd /workspace/configuration && ./configure.py --desktop enabled'
|
||||
- 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .'
|
||||
- '# Login to Dockerhub'
|
||||
- 'echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin'
|
||||
- '# Create a version'
|
||||
- 'docker image tag devindice/cloud9-ide-vdi:latest devindice/cloud9-ide-vdi:testing'
|
||||
- 'docker push $DOCKER_USERNAME/cloud9-ide-vdi:testing'
|
||||
- 'cd /workspace/configuration && ./configure.py --desktop disabled'
|
||||
- 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .'
|
||||
- 'docker image tag devindice/cloud9-ide-vdi:latest devindice/cloud9-ide-vdi:no-desktop-testing'
|
||||
- 'docker push $DOCKER_USERNAME/cloud9-ide-vdi:no-desktop-testing'
|
||||
secrets:
|
||||
- name: Dockerhub
|
||||
|
|
|
|||
137
Dockerfile.j2
137
Dockerfile.j2
|
|
@ -1,137 +0,0 @@
|
|||
# Built with arch: {{ arch }} flavor: {{ flavor }} image: {{ image }}
|
||||
#
|
||||
################################################################################
|
||||
# base system
|
||||
################################################################################
|
||||
{%if arch == "amd64"%}
|
||||
FROM {{image}} as system
|
||||
{%elif arch == "armhf"%}
|
||||
# qemu helper for arm build
|
||||
FROM {{image}} as amd64
|
||||
RUN apt update && apt install -y qemu-user-static
|
||||
FROM arm32v7/{{image}} as system
|
||||
COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
|
||||
{%endif%}
|
||||
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
|
||||
# built-in packages
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends software-properties-common curl apache2-utils \
|
||||
&& apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
supervisor nginx sudo net-tools zenity xz-utils \
|
||||
dbus-x11 x11-utils alsa-utils \
|
||||
mesa-utils libgl1-mesa-dri \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# install debs error if combine together
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
xvfb x11vnc \
|
||||
vim-tiny firefox ttf-ubuntu-font-family ttf-wqy-zenhei \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN apt update \
|
||||
&& apt install -y gpg-agent \
|
||||
&& curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
|
||||
&& (dpkg -i ./google-chrome-stable_current_amd64.deb || apt-get install -fy) \
|
||||
&& curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add \
|
||||
&& rm google-chrome-stable_current_amd64.deb \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
{%if desktop == "lxde" %}
|
||||
{%endif%}
|
||||
{%if desktop == "lxqt" %}
|
||||
{%endif%}
|
||||
{%if desktop == "xfce4" %}
|
||||
{%endif%}
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
lxde gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf gtk2-engines-murrine arc-theme \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# Additional packages require ~600MB
|
||||
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
|
||||
|
||||
# tini to fix subreap
|
||||
ARG TINI_VERSION=v0.18.0
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /bin/tini
|
||||
RUN chmod +x /bin/tini
|
||||
|
||||
# ffmpeg
|
||||
RUN apt update \
|
||||
&& apt install -y --no-install-recommends --allow-unauthenticated \
|
||||
ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& mkdir /usr/local/ffmpeg \
|
||||
&& ln -s /usr/bin/ffmpeg /usr/local/ffmpeg/ffmpeg
|
||||
|
||||
# python library
|
||||
COPY rootfs/usr/local/lib/web/backend/requirements.txt /tmp/
|
||||
RUN apt-get update \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/a.txt \
|
||||
&& apt-get install -y python3-pip python3-dev build-essential \
|
||||
&& pip3 install setuptools wheel && pip3 install -r /tmp/requirements.txt \
|
||||
&& ln -s /usr/bin/python3 /usr/local/bin/python \
|
||||
&& dpkg-query -W -f='${Package}\n' > /tmp/b.txt \
|
||||
&& apt-get remove -y `diff --changed-group-format='%>' --unchanged-group-format='' /tmp/a.txt /tmp/b.txt | xargs` \
|
||||
&& apt-get autoclean -y \
|
||||
&& apt-get autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/cache/apt/* /tmp/a.txt /tmp/b.txt
|
||||
|
||||
|
||||
################################################################################
|
||||
# builder
|
||||
################################################################################
|
||||
FROM {{image}} as builder
|
||||
|
||||
{% if localbuild == 1 %}
|
||||
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
|
||||
{% endif %}
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
|
||||
|
||||
# nodejs
|
||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& apt-get install -y nodejs
|
||||
|
||||
# yarn
|
||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y yarn
|
||||
|
||||
# build frontend
|
||||
COPY web /src/web
|
||||
RUN cd /src/web \
|
||||
&& yarn \
|
||||
&& yarn build
|
||||
RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
|
||||
|
||||
{%if arch == "armhf"%}
|
||||
RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
|
||||
{%endif%}
|
||||
|
||||
################################################################################
|
||||
# merge
|
||||
################################################################################
|
||||
FROM system
|
||||
LABEL maintainer="fcwu.tw@gmail.com"
|
||||
|
||||
COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/
|
||||
COPY rootfs /
|
||||
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
|
||||
|
||||
EXPOSE 80
|
||||
WORKDIR /root
|
||||
ENV HOME=/home/ubuntu \
|
||||
SHELL=/bin/bash
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1:6079/api/health
|
||||
ENTRYPOINT ["/startup.sh"]
|
||||
|
|
@ -1,52 +1,7 @@
|
|||
server {
|
||||
listen 6080 default_server;
|
||||
# listen [::]:80 default_server ipv6only=on;
|
||||
|
||||
#_SSL_PORT_#listen 443 ssl default_server;
|
||||
#_SSL_PORT_#listen [::]:443 ssl default_server ipv6only=on;
|
||||
#_SSL_PORT_#ssl_certificate /etc/nginx/ssl/nginx.crt;
|
||||
#_SSL_PORT_#ssl_certificate_key /etc/nginx/ssl/nginx.key;
|
||||
|
||||
#_HTTP_PASSWORD_#auth_basic "Private Property";
|
||||
#_HTTP_PASSWORD_#auth_basic_user_file /etc/nginx/.htpasswd;
|
||||
|
||||
root /usr/local/lib/web/frontend/;
|
||||
root /usr/local/lib/web/disabled/;
|
||||
index index.html index.htm;
|
||||
|
||||
#_RELATIVE_URL_ROOT_location /_RELATIVE_URL_ROOT_/ {
|
||||
#_RELATIVE_URL_ROOT_ rewrite /_RELATIVE_URL_ROOT_/(.*) /$1 break;
|
||||
#_RELATIVE_URL_ROOT_ root /usr/local/lib/web/frontend/;
|
||||
#_RELATIVE_URL_ROOT_}
|
||||
|
||||
location ~ .*/(api/.*|websockify) {
|
||||
try_files $uri @api$http_upgrade;
|
||||
}
|
||||
|
||||
location / {
|
||||
rewrite /approot/(.*) /$1 break;
|
||||
root /usr/local/lib/web/frontend/;
|
||||
}
|
||||
|
||||
location @apiwebsocket {
|
||||
#_RELATIVE_URL_ROOT_rewrite /_RELATIVE_URL_ROOT_/(.*) $1 break;
|
||||
proxy_connect_timeout 7d;
|
||||
proxy_send_timeout 7d;
|
||||
proxy_read_timeout 7d;
|
||||
proxy_buffering off;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_pass http://127.0.0.1:6081;
|
||||
}
|
||||
|
||||
location @api {
|
||||
#_RELATIVE_URL_ROOT_rewrite /_RELATIVE_URL_ROOT_/(.*) $1 break;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
max_ranges 0;
|
||||
proxy_pass http://127.0.0.1:6079;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -8,17 +8,10 @@ directory=/root
|
|||
priority=10
|
||||
command=nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
||||
|
||||
[program:web]
|
||||
priority=10
|
||||
directory=/usr/local/lib/web/backend
|
||||
command=/usr/local/lib/web/backend/run.py
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/fd/1
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[group:x]
|
||||
programs=xfce4,xvfb,x11vnc,novnc,cloud9
|
||||
programs=cloud9
|
||||
|
||||
|
||||
[program:xfce4]
|
||||
priority=15
|
||||
|
|
@ -53,3 +46,9 @@ priority=30
|
|||
directory=/home/%USER%/.dynamic-background/active
|
||||
user=%USER%
|
||||
command=bash /usr/share/backgrounds/dynamic.sh
|
||||
|
||||
[program:desktop]
|
||||
priority=25
|
||||
directory=/cloud9/c9sdk
|
||||
user=%USER%
|
||||
command=bash -c 'while ps aux | grep user-install.sh | grep -v grep 2>&1> /dev/null; do sleep 1; done; node server.js -l 0.0.0.0 -p 9999 -a : -w /workspace'
|
||||
|
|
|
|||
|
|
@ -1,86 +0,0 @@
|
|||
[supervisord]
|
||||
redirect_stderr=true
|
||||
stopsignal=QUIT
|
||||
autorestart=true
|
||||
directory=/root
|
||||
|
||||
[program:nginx]
|
||||
priority=10
|
||||
command=nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
||||
|
||||
[program:web]
|
||||
priority=10
|
||||
directory=/usr/local/lib/web/backend
|
||||
command=/usr/local/lib/web/backend/run.py
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/fd/1
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
{% if desktop == "lxde" %}
|
||||
[group:x]
|
||||
programs=xvfb,wm,lxpanel,pcmanfm,x11vnc,novnc
|
||||
|
||||
[program:wm]
|
||||
priority=15
|
||||
command=/usr/bin/openbox
|
||||
environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
|
||||
[program:lxpanel]
|
||||
priority=15
|
||||
directory=%HOME%
|
||||
command=/usr/bin/lxpanel --profile LXDE
|
||||
user=%USER%
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
|
||||
[program:pcmanfm]
|
||||
priority=15
|
||||
directory=%HOME%
|
||||
command=/usr/bin/pcmanfm --desktop --profile LXDE
|
||||
user=%USER%
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
{% endif %}
|
||||
|
||||
{% if desktop == "lxqt" %}
|
||||
[group:x]
|
||||
programs=xvfb,wm,lxpanel,x11vnc,novnc
|
||||
|
||||
[program:wm]
|
||||
priority=15
|
||||
command=/usr/bin/openbox
|
||||
environment=DISPLAY=":1",HOME="/root",USER="root"
|
||||
|
||||
[program:lxpanel]
|
||||
priority=15
|
||||
directory=%HOME%
|
||||
command=/usr/bin/startlxqt
|
||||
user=%USER%
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
{% endif %}
|
||||
|
||||
{% if desktop == "xfce4" %}
|
||||
[group:x]
|
||||
programs=xvfb,lxpanel,x11vnc,novnc
|
||||
|
||||
[program:lxpanel]
|
||||
priority=15
|
||||
directory=%HOME%
|
||||
command=/usr/bin/startxfce4
|
||||
user=%USER%
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
{% endif %}
|
||||
|
||||
[program:xvfb]
|
||||
priority=10
|
||||
command=/usr/local/bin/xvfb.sh
|
||||
stopsignal=KILL
|
||||
|
||||
[program:x11vnc]
|
||||
priority=20
|
||||
command=x11vnc -display :1 -xkb -forever -shared -repeat -capslock
|
||||
|
||||
[program:novnc]
|
||||
priority=25
|
||||
directory=/usr/local/lib/web/frontend/static/novnc
|
||||
command=bash /usr/local/lib/web/frontend/static/novnc/utils/launch.sh --listen 6081
|
||||
stopasgroup=true
|
||||
63
rootfs/etc/supervisor/conf.d/supervisord.conf.old
Normal file
63
rootfs/etc/supervisor/conf.d/supervisord.conf.old
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
[supervisord]
|
||||
redirect_stderr=true
|
||||
stopsignal=QUIT
|
||||
autorestart=true
|
||||
directory=/root
|
||||
|
||||
[program:nginx]
|
||||
priority=10
|
||||
command=nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
||||
|
||||
|
||||
[program:web]
|
||||
priority=10
|
||||
directory=/usr/local/lib/web/backend
|
||||
command=/usr/local/lib/web/backend/run.py
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/fd/1
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[group:x]
|
||||
programs=xfce4,xvfb,x11vnc,novnc,cloud9,desktop
|
||||
|
||||
|
||||
[program:xfce4]
|
||||
priority=15
|
||||
directory=%HOME%
|
||||
command=/usr/bin/startxfce4
|
||||
user=%USER%
|
||||
environment=DISPLAY=":1",HOME="%HOME%",USER="%USER%"
|
||||
|
||||
[program:xvfb]
|
||||
priority=10
|
||||
command=/usr/local/bin/xvfb.sh
|
||||
stopsignal=KILL
|
||||
|
||||
[program:x11vnc]
|
||||
priority=20
|
||||
command=bash -c 'x11vnc -display :1 -xkb -forever -shared -repeat -capslock || rm /tmp/.X11-unix/X1 /tmp/.X1-lockfb'
|
||||
|
||||
[program:novnc]
|
||||
priority=25
|
||||
directory=/usr/local/lib/web/frontend/static/novnc
|
||||
command=bash /usr/local/lib/web/frontend/static/novnc/utils/launch.sh --listen 6081
|
||||
stopasgroup=true
|
||||
|
||||
[program:cloud9]
|
||||
priority=25
|
||||
directory=/cloud9/c9sdk
|
||||
user=%USER%
|
||||
command=bash -c 'while ps aux | grep user-install.sh | grep -v grep 2>&1> /dev/null; do sleep 1; done; node server.js -l 0.0.0.0 -p 9999 -a : -w /workspace'
|
||||
|
||||
[program:desktop]
|
||||
priority=30
|
||||
directory=/home/%USER%/.dynamic-background/active
|
||||
user=%USER%
|
||||
command=bash /usr/share/backgrounds/dynamic.sh
|
||||
|
||||
[program:desktop]
|
||||
priority=25
|
||||
directory=/cloud9/c9sdk
|
||||
user=%USER%
|
||||
command=bash -c 'while ps aux | grep user-install.sh | grep -v grep 2>&1> /dev/null; do sleep 1; done; node server.js -l 0.0.0.0 -p 9999 -a : -w /workspace'
|
||||
44
rootfs/usr/local/lib/web/disabled/ecolane_web.svg
Normal file
44
rootfs/usr/local/lib/web/disabled/ecolane_web.svg
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 23.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 592.3 139.4" style="enable-background:new 0 0 592.3 139.4;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#408AF4;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M194.3,51.8c0-5.6,0-10.1-0.3-15c3.1-0.8,7.9-1.5,12.4-1.7c7.1,0,19.9,0,28.9,0c-0.7,4.6-2.4,6.9-3.9,8.5
|
||||
c-1.7,0.7-4.7,0.7-10.1,0.7h-13v22.3h25.7c-2,8.6-3.8,9.2-8.1,9.1h-17.6V100c2.7,0.7,7.2,0.9,12.2,0.9c5.2,0,12.5,0,18.1-0.6
|
||||
l0.3,0.2c-1.1,4.3-3.5,7.5-6.5,8.9c-1.7,0.3-5.9,0.6-15.1,0.6c-10.1,0-18-0.6-21-1.2l-1.9-2.4V51.8z"/>
|
||||
<path class="st0" d="M288.5,100.3c-0.4,2.6-2.1,6.1-4.3,7.8c-3.1,1.8-7.7,2.7-12.5,2.7c-14.9,0-29-8-29-26.5
|
||||
c0-10.9,5.3-18.2,11-22.5c5.4-4,12.2-6.1,19.2-6.1c10.3,0,15.5,4.3,16.4,5.5c-0.1,2.1-1.2,4.7-2.6,5.9c-1.3,1.4-3.1,0.9-4.9,0
|
||||
c-3.1-1.4-6.5-2.2-9.9-2.2c-9.3,0-15.3,7.3-15.3,17.5c0,13.6,10.5,18.9,19.1,18.9c4.6,0,8.9-1,11.7-1.9L288.5,100.3z"/>
|
||||
<path class="st0" d="M320.7,55.7c19,0,28.1,13.3,28.1,27c0,10.6-4.6,17.9-9.9,22.1c-4.7,3.8-10.9,5.9-18.2,5.9
|
||||
c-16.5,0-28-10.8-28-27.2c0-8.9,3.8-16.9,10.3-21.9c4.6-3.7,10.9-5.9,17.5-5.9H320.7z M320.4,64.3c-7.6,0-13.4,7-13.4,18.2
|
||||
c0,13,6.8,19.8,14.6,19.6c7.7,0,13.1-7,13.1-18.8c0-11.1-5.7-19-14.1-19H320.4z"/>
|
||||
<path class="st0" d="M359.6,43.3c0-7-0.2-10.3-0.5-12.7c2.4-1,9.5-2,11.8-2c1.7,0,2.2,0.6,2.2,7.7v57.3c0,5.8,0.2,12.2,0.5,15.6
|
||||
c-2.5,0.6-10.8,0.9-12.4,0.9c-1.2,0-1.7-0.4-1.7-1.5V43.3z"/>
|
||||
<path class="st0" d="M433.3,105.5c-0.7,2-4.2,5.2-10.2,5.2c-5,0-8.3-2.8-9.6-6.9c-2.9,3.1-8.9,6.9-15.3,6.9
|
||||
c-8.3,0-14.7-5.4-14.7-14.2c0-12.4,16.8-16.8,25-18.3c2.3-0.4,3.9-0.7,5-0.9v-3.1c0-4.6-2.9-8.5-8.8-8.5c-4,0-8.7,2.6-11.3,4.2
|
||||
c-3.3,1.8-5.7,1.2-7.1-3.3l-0.9-2.6c4.2-3.6,13.8-8.4,22.5-8.4c11.2,0,18.6,6.4,18.6,18.6c0,5-0.5,16.2-0.4,23.8
|
||||
c0,1.7,1.2,3.1,3.8,3.1c1.2,0,2.5-0.5,3.5-0.8V105.5z M396.5,94.5c0,3.5,2.1,6.1,6.1,6.1c4.1,0,7.8-2.5,9.7-4.3
|
||||
c0.6-0.7,0.9-1.8,0.9-3.9v-7.8c-10.5,1.5-16.6,5.2-16.6,9.8V94.5z"/>
|
||||
<path class="st0" d="M476.7,76.4c0-7.8-3.6-10.6-8.8-10.6c-5.2,0-9.5,3.7-12.1,7.1v33.5c0,2.3-0.4,2.8-2.8,3.1
|
||||
c-3.8,0.5-7.2,0.5-11.1,0.5c0.2-5.6,0.4-12.9,0.4-21.7V69.2c0-3.3-1.2-4.9-2.9-5.6v-2.1c1.2-1.9,2.9-3.9,4.5-5.3
|
||||
c1.2-0.3,2.4-0.4,3.7-0.3c4.9,0.3,7.1,4.3,7.7,8c3-2.6,5.2-4.4,8.4-6.1c2.3-1.2,5.1-2.1,8.3-2.1c15,0,18.3,10.6,18.3,19.9v17.3
|
||||
c0,6.4,0.2,12.4,0.4,16.2c-2.6,0.3-7.1,1-11.8,1c-1.7,0-2.3-0.6-2.3-2L476.7,76.4z"/>
|
||||
<path class="st0" d="M545.1,100.1c-0.1,4.4-5,8.6-6.7,9.2c-1.2,0.5-5.3,1.5-9.9,1.5c-5.4,0-13.2-0.8-19.6-6.4c-5.8-5-8-12.8-8-20.4
|
||||
c0-14.6,9.8-28.3,26-28.3c15.3,0,20.9,10.1,21.3,20.3c0,1.5-0.3,3.3-0.5,4.2c-0.4,1.8-5.4,3.8-10,4.9c-3.2,0.5-15.8,0.7-23.1,0.4
|
||||
c0.2,11,8.5,15.9,17.8,15.9c6.1,0,10.3-1.3,11.9-2L545.1,100.1z M525.5,64c-4.9,0-10.1,4.7-10.6,13.3c6.2,0.3,15.7,0.2,18.4,0
|
||||
c1.1,0,1.7-1.3,1.7-2.5c0.1-6.3-3.1-10.8-9.4-10.8H525.5z"/>
|
||||
<g>
|
||||
<path class="st0" d="M151.9,38.6c-22.8-5-45.8-3.9-64.2-0.1c-22.7,4.7-35.9,13-43.6,22.7c0.1,0.9,0.2,1.7,0.4,2.6
|
||||
c0.8,4.5,2.2,8.9,4.1,12.9c5-4.1,10.9-8.2,18.1-12.2C88.7,52,117.6,41.7,151.9,38.6z"/>
|
||||
<path class="st0" d="M150.1,43.7c-21.5,2.6-41.1,10.1-55.9,18.6C75.8,72.8,66.4,83.8,62.3,94.6c4.9,4.3,10.6,7.8,16.9,10.5
|
||||
c2.5-7.5,6.6-15.3,13-23.4C105.1,65.3,124.2,50.7,150.1,43.7z"/>
|
||||
<path class="st0" d="M153.8,48.3c-18.1,4.4-32.5,15.8-42,27.9c-9.3,11.9-13,23.3-13.4,34.1c4.6,0.6,9.2,0.7,14,0.4
|
||||
c0.1-0.5,0.1-1,0.2-1.4C115.8,89,127.8,67,153.8,48.3z"/>
|
||||
<path class="st0" d="M130.7,95.3c-0.7,4.2-0.8,8.2-0.5,11.9c27.9-9.1,45.8-34.1,41.4-60.6c-0.7-0.2-1.4-0.5-2.4-0.6
|
||||
c-0.6,0-1.5,0.5-1.6,0.5C144.1,59.1,133.4,78.5,130.7,95.3z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.7 KiB |
34
rootfs/usr/local/lib/web/disabled/index.html
Normal file
34
rootfs/usr/local/lib/web/disabled/index.html
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Cloud9 Desktop</title>
|
||||
<style>
|
||||
body{
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.message{
|
||||
width:800px;
|
||||
padding:20px 40px;
|
||||
margin:0 auto;
|
||||
background-color:#f9f9f9;
|
||||
border:1px solid #ddd;
|
||||
}
|
||||
center{
|
||||
margin:40px 0;
|
||||
}
|
||||
h1{
|
||||
font-size: 18px;
|
||||
line-height: 26px;
|
||||
}
|
||||
p{
|
||||
font-size: 14px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="message">
|
||||
<img id="logo" height="80px" alt="Ecolane" title="Ecolane" src="ecolane_web.svg">
|
||||
<h1>Desktop is disabled for your account.</h1>
|
||||
<h5>This instance does not have the desktop enabled. If you do need access, please reach out to IT.</h5>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue