You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
FROM node:14-alpine
|
|
|
|
|
|
|
|
LABEL maintainer="Loong<ling.wenlong@free-sun.com.cn>"
|
|
|
|
|
|
|
|
# 更换软件源
|
|
|
|
RUN cp -a /etc/apk/repositories /etc/apk/repositories.bak \
|
|
|
|
&& sed -i "s@https://dl-cdn.alpinelinux.org/@https://mirrors.huaweicloud.com/@g" /etc/apk/repositories \
|
|
|
|
&& apk update \
|
|
|
|
&& apk add tzdata \
|
|
|
|
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
|
|
|
|
&& echo "Asia/Shanghai" > /etc/timezone \
|
|
|
|
&& apk del tzdata \
|
|
|
|
&& apk add make cmake \
|
|
|
|
&& npm config set registry=http://10.8.30.22:7000 \
|
|
|
|
&& npm install --save webpack@3.12.0 yarn node-gyp babel-cli
|
|
|
|
|