提交 de29758a 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

use chromium instead of chrome in docker

上级 20837e68
FROM node:7
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
# RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
# && sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN apt-get update -q && apt-get install -qy \
apt-utils \
chromium \
google-chrome-stable \
vim \
xvfb \
&& rm -rf /tmp/*
# google-chrome-stable \
WORKDIR /wechaty
COPY package.json .
RUN npm set progress=false \
&& npm install ts-node typescript -g \
&& npm install --loglevel warn \
&& rm -fr /tmp/*
# && npm install ts-node typescript -g \
COPY . .
RUN npm link
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册