Skip to content

Commit 79f442f

Browse files
committed
Add gcc Dockerfile
1 parent da2a74b commit 79f442f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM gcc:latest
2+
WORKDIR /app
3+
COPY twc.c /app/
4+
ENV CFLAGS=-O2
5+
RUN gcc -o twc twc.c
6+
CMD ["./twc"]

0 commit comments

Comments
 (0)