Skip to content

Commit 58e8ecb

Browse files
authored
Merge pull request #98 from x66ccff/main
Update the Dockerfile to avoid the Docker build from getting stuck.
2 parents 2654e6b + 14dd1d8 commit 58e8ecb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@ RUN git clone https://github.com/novnc/noVNC.git /opt/novnc \
4343
&& ln -s /opt/novnc/vnc.html /opt/novnc/index.html
4444

4545
# 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
5148

5249
# Set up working directory
5350
WORKDIR /app
@@ -79,4 +76,4 @@ COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
7976

8077
EXPOSE 7788 6080 5900
8178

82-
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
79+
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

0 commit comments

Comments
 (0)