1 Star 0 Fork 0

Cinwell / WebIDE-Backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 590 Bytes
一键复制 编辑 原始数据 按行查看 历史
vangie 提交于 2017-04-13 13:55 . build docker image in travis
FROM java:8-jre-alpine
EXPOSE 8080
RUN set -ex && \
if [ $(wget -qO- ipinfo.io/country) == CN ]; then echo "http://mirrors.aliyun.com/alpine/latest-stable/main/" > /etc/apk/repositories ;fi && \
apk update && \
apk add --no-cache zsh git
# Install oh-my-zsh
RUN git clone --depth=1 git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
ENV SHELL /bin/zsh
ADD target/ide-backend.jar /root
ADD src/main/resources/lib /root/lib
WORKDIR /root
CMD ["java", "-jar", "ide-backend.jar", "--PTY_LIB_FOLDER=/root/lib"]
1
https://gitee.com/cinwell/WebIDE-Backend.git
git@gitee.com:cinwell/WebIDE-Backend.git
cinwell
WebIDE-Backend
WebIDE-Backend
master

搜索帮助