2 Star 0 Fork 0

mirrors_ARMmbed/mbed-cloud-sdk-java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 678 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM openjdk:8-jdk-stretch
WORKDIR /testserver
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
&& apt-get install -y python3 \
&& apt-get install -y python3-pip \
&& apt-get install -y python-setuptools \
&& apt-get install -y iputils-ping \
&& apt-get install -y git \
&& pip3 install -U pip \
&& echo 'alias pip=pip3' >> ~/.bashrc \
&& echo 'alias python=python3' >> ~/.bashrc \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
ADD . .
RUN pip3 install -r scripts/requirements.txt
RUN python3 scripts/sdk.py build_test_server
EXPOSE 5000
# Run test server when the container launches
CMD ["python3", "-u", "scripts/sdk.py", "launch_test_server"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ARMmbed/mbed-cloud-sdk-java.git
git@gitee.com:mirrors_ARMmbed/mbed-cloud-sdk-java.git
mirrors_ARMmbed
mbed-cloud-sdk-java
mbed-cloud-sdk-java
master

搜索帮助