Skip to content

Commit

Permalink
Update submit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lynzrand authored Nov 5, 2020
1 parent 77a3f0c commit 536f839
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/manual/submit.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Dockerfile:
```dockerfile
FROM gcc:10
WORKDIR /app/
COPY ./* ./
COPY <你的代码文件> ./
RUN gcc my-program.c -o program
RUN chmod +x program
```
Expand All @@ -178,7 +178,7 @@ FROM alpine:3
# RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories
RUN apk add cmake gcc g++ libgcc build-base make --no-cache
WORKDIR /app/
COPY ./* ./
COPY <你的代码文件> ./
WORKDIR /app/build
RUN cmake ..
RUN make -j4
Expand All @@ -205,7 +205,7 @@ Dockerfile:
# 换成你自己的版本
FROM openjdk:12
WORKDIR /app/
COPY ./* ./
COPY <源代码> ./
RUN javac program.java
```

Expand Down Expand Up @@ -233,7 +233,7 @@ https://github.com/docker/labs/tree/master/developer-tools/java
# 换成你自己的版本
FROM python:3
WORKDIR /app/
COPY ./* ./
COPY <源代码> ./
```

judge.toml
Expand Down

0 comments on commit 536f839

Please sign in to comment.