Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions template/e2b.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN yes | unminimize && \
# XFCE desktop environment:
apt-get install -y xfce4 xfce4-goodies && \
# Basic system utilities:
apt-get install -y util-linux sudo curl git && \
apt-get install -y util-linux sudo curl git wget && \
# Pip will be used to install Python packages:
apt-get install -y python3-pip && \
# Tools used by the desktop SDK:
Expand Down Expand Up @@ -67,8 +67,17 @@ RUN apt-get install -y software-properties-common && \
apt-get install -y --no-install-recommends \
firefox-esr

# Install Chrome
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list && \
apt-get update && \
apt-get install -y google-chrome-stable

# Copy Chrome desktop shortcut
COPY google-chrome.desktop /usr/share/applications/google-chrome.desktop

# Install VS Code
RUN apt-get install wget apt-transport-https && \
RUN apt-get install apt-transport-https && \
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | apt-key add - && \
add-apt-repository -y "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" && \
apt-get update -y && \
Expand Down
10 changes: 10 additions & 0 deletions template/google-chrome.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=Google Chrome
Exec=/usr/bin/google-chrome-stable --no-first-run --no-default-browser-check --password-store=basic
Terminal=false
Icon=google-chrome
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Google-chrome