1 Star 0 Fork 0

丛林 / HPMDocker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
dockerfile 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
Chengkun 提交于 2020-10-13 17:49 . Update dockerfile
FROM ubuntu:18.04
WORKDIR /home/dist
COPY ["dist.sh", "../"]
COPY ["sources.list", "/etc/apt/"]
RUN apt-get update -y \
&& apt-get install curl wget -y \
&& apt-get install npm -y \
&& apt-get install python3.8 -y \
&& apt-get install python3-pip -y \
&& apt-get install dosfstools -y \
&& apt-get install mtools -y \
&& apt-get install scons -y \
&& apt-get install zip -y \
&& rm -rf /bin/sh /usr/bin/python /usr/bin/python3 \
&& ln -s /bin/bash /bin/sh \
&& ln -s /usr/bin/python3.8 /usr/bin/python3 \
&& ln -s /usr/bin/python3.8 /usr/bin/python \
&& pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple setuptools \
&& pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple kconfiglib \
&& pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pycryptodome \
&& pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple ecdsa \
&& wget -P /home/ https://mirrors.huaweicloud.com/nodejs/latest-v12.x/node-v12.19.0-linux-x64.tar.gz \
&& tar -zvxf /home/node-v12.19.0-linux-x64.tar.gz -C /home \
&& sed -i '$aexport PATH=/home/node-v12.19.0-linux-x64/bin:$PATH' /root/.bashrc \
&& export PATH=/home/node-v12.19.0-linux-x64/bin:$PATH \
&& npm install -g @ohos/hpm-cli
Docker
1
https://gitee.com/jungle8023/hpmdocker.git
git@gitee.com:jungle8023/hpmdocker.git
jungle8023
hpmdocker
HPMDocker
master

搜索帮助