File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,8 @@ RUN git clone https://github.com/novnc/noVNC.git /opt/novnc \
43
43
&& ln -s /opt/novnc/vnc.html /opt/novnc/index.html
44
44
45
45
# Install Chrome
46
- RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
47
- && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list \
48
- && apt-get update \
49
- && apt-get install -y google-chrome-stable \
50
- && rm -rf /var/lib/apt/lists/*
46
+ RUN curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor -o /usr/share/keyrings/google-chrome.gpg \
47
+ && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main" | tee /etc/apt/sources.list.d/google-chrome.list
51
48
52
49
# Set up working directory
53
50
WORKDIR /app
@@ -79,4 +76,4 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
79
76
80
77
EXPOSE 7788 6080 5900
81
78
82
- CMD ["/usr/bin/supervisord" , "-c" , "/etc/supervisor/conf.d/supervisord.conf" ]
79
+ CMD ["/usr/bin/supervisord" , "-c" , "/etc/supervisor/conf.d/supervisord.conf" ]
You can’t perform that action at this time.
0 commit comments