Add chrome stable to dockerfile and web shard (#33787)

This commit is contained in:
Jonah Williams
2019-06-06 21:10:24 -07:00
committed by GitHub
parent c91b657116
commit 698d458dc8
4 changed files with 51 additions and 4 deletions

View File

@@ -26,6 +26,10 @@ RUN apt-get install -y --no-install-recommends \
ca-certificates \
gnupg
# Add repo for chrome stable
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list
# Add nodejs repository to apt sources and install it.
ENV NODEJS_INSTALL="/opt/nodejs_install"
RUN mkdir -p "${NODEJS_INSTALL}"
@@ -43,7 +47,8 @@ RUN apt-get install -y --no-install-recommends \
libstdc++6 \
libglu1-mesa \
build-essential \
default-jdk-headless
default-jdk-headless \
google-chrome-stable
# Install the Android SDK Dependency.
ENV ANDROID_SDK_URL="https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip"

View File

@@ -7,7 +7,7 @@ Google internal environment.
After setup,
* edit `Dockerfile` to change how the container image is built.
* run `./build_docker.sh` to build the container image.
* run `./push_docker.sh` to push the image to google cloud registry. This will
* run `./docker_build.sh` to build the container image.
* run `./docker_push.sh` to push the image to google cloud registry. This will
affect our CI tests.