2 Star 12 Fork 1

独孤影 / judger

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 496 Bytes
一键复制 编辑 原始数据 按行查看 历史
独孤影 提交于 2014-12-31 00:05 . initialize model for docker environment
FROM google/golang
MAINTAINER duguying2008@gmail.com
RUN apt-get install -y gcc
RUN apt-get install -y cmake
ADD . /gopath/src/github.com/duguying/judger
# set the working directory and add current stuff
WORKDIR /gopath/src/github.com/duguying/judger/sandbox/c/build
RUN cmake ..
RUN make
WORKDIR /gopath/src/github.com/duguying/judger
RUN git checkout master
RUN go get
RUN go build
RUN mkdir build
EXPOSE 1004 1005
ENTRYPOINT []
CMD ["./judger","-c=/data/config_docker.ini","-mode=docker"]
C
1
https://gitee.com/duguying2008/judger.git
git@gitee.com:duguying2008/judger.git
duguying2008
judger
judger
master

搜索帮助