-
Notifications
You must be signed in to change notification settings - Fork 0
/
DockerfileArm64
16 lines (11 loc) · 1.86 KB
/
DockerfileArm64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# https://launchpad.net/ubuntu/xenial/arm64/chromium-browser/90.0.4430.72-0ubuntu0.16.04.1
# https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/21408111
FROM openjdk:11.0.10-jdk
WORKDIR /app
#Ubuntu系统
RUN /bin/sh -c 'apt-get update && apt-get upgrade -y && apt-get install wget -y && apt-get install git -y &&apt-get install unzip -y && apt-get install fonts-liberation -y && apt-get install libasound2 -y && apt-get install libatk-bridge2.0-0 -y && apt-get install libatk1.0-0 -y && apt-get install libatspi2.0-0 -y && apt-get install libcairo2 -y && apt-get install libcups2 -y && apt-get install libdbus-1-3 -y && apt-get install libdrm2 -y && apt-get install libgbm1 -y && apt-get install libgdk-pixbuf2.0-0 -y && apt-get install libglib2.0-0 -y && apt-get install libgtk-3-0 -y && apt-get install libnspr4 -y && apt-get install libnss3 -y && apt-get install libpango-1.0-0 -y && apt-get install libxcomposite1 -y && apt-get install libxdamage1 -y && apt-get install libxfixes3 -y && apt-get install libxkbcommon0 -y && apt-get install libxshmfence1 -y && apt-get install xdg-utils -y '
#下载安装chrome Arm64: https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/21408111
RUN /bin/sh -c 'mkdir /tools && cd /tools && wget -P /tools https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/21408111/+files/chromium-browser_90.0.4430.72-0ubuntu0.16.04.1_arm64.deb && dpkg -i chromium-browser_90.0.4430.72-0ubuntu0.16.04.1_arm64.deb'
#下载安装chrome驱动: 位置/tools
ARG CHROME_DRIVER_VERSION=90.0.4430.72
RUN /bin/sh -c 'cd /tools && wget -P /tools https://launchpad.net/~canonical-chromium-builds/+archive/ubuntu/stage/+build/21408111/+files/chromium-chromedriver_90.0.4430.72-0ubuntu0.16.04.1_arm64.deb && dpkg -i chromium-chromedriver_90.0.4430.72-0ubuntu0.16.04.1_arm64.deb'