fix: remove debug config
This commit is contained in:
parent
9ba1dce00e
commit
7f2c6ed18f
12
Dockerfile
12
Dockerfile
|
@ -7,10 +7,10 @@ ENV noVNC_version=1.1.0
|
|||
ENV websockify_version=0.9.0
|
||||
|
||||
# Local debug
|
||||
RUN echo "Server = https://mirrors.ustc.edu.cn/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||
RUN echo "Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist
|
||||
COPY ./websockify-${websockify_version}.tar.gz /websockify.tar.gz
|
||||
COPY ./noVNC-${noVNC_version}.tar.gz /noVNC.tar.gz
|
||||
# RUN echo "Server = https://mirrors.ustc.edu.cn/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist
|
||||
# RUN echo "Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist
|
||||
# COPY ./websockify-${websockify_version}.tar.gz /websockify.tar.gz
|
||||
# COPY ./noVNC-${noVNC_version}.tar.gz /noVNC.tar.gz
|
||||
|
||||
# Install apps
|
||||
RUN pacman -Sy --noconfirm xfce4 xfce4-goodies \
|
||||
|
@ -19,12 +19,12 @@ RUN pacman -Sy --noconfirm xfce4 xfce4-goodies \
|
|||
|
||||
RUN pacman -Scc \
|
||||
# Install noVNC
|
||||
# && wget https://github.com/novnc/websockify/archive/v${websockify_version}.tar.gz -O /websockify.tar.gz \
|
||||
&& wget https://github.com/novnc/websockify/archive/v${websockify_version}.tar.gz -O /websockify.tar.gz \
|
||||
&& tar -xvf /websockify.tar.gz -C / \
|
||||
&& cd /websockify-${websockify_version} \
|
||||
&& python setup.py install \
|
||||
&& cd / && rm -r /websockify.tar.gz /websockify-${websockify_version} \
|
||||
# && wget https://github.com/novnc/noVNC/archive/v${noVNC_version}.tar.gz -O /noVNC.tar.gz \
|
||||
&& wget https://github.com/novnc/noVNC/archive/v${noVNC_version}.tar.gz -O /noVNC.tar.gz \
|
||||
&& tar -xvf /noVNC.tar.gz -C / \
|
||||
&& cd /noVNC-${noVNC_version} \
|
||||
&& ln -s vnc.html index.html \
|
||||
|
|
Reference in a new issue