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

Upgrade node from 7 to 8 for Docker Image (#577)

上级 5c5d8b60
FROM node:7
FROM ubuntu:17.10
LABEL maintainer="Huan LI <zixia@zixia.net>"
ENV NPM_CONFIG_LOGLEVEL warn
......@@ -20,7 +20,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
sudo \
ttf-freefont \
vim \
&& rm -rf /tmp/* /var/lib/apt/lists/*
&& rm -rf /tmp/* /var/lib/apt/lists/* \
&& apt-get purge --auto-remove
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get update && apt-get install -y --no-install-recommends nodejs \
&& rm -rf /tmp/* /var/lib/apt/lists/* \
&& apt-get purge --auto-remove
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
# https://github.com/ebidel/try-puppeteer/blob/master/backend/Dockerfile
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册