7 lines
155 B
Docker
7 lines
155 B
Docker
|
FROM gcc:latest
|
||
|
COPY . /usr/src/syscall
|
||
|
WORKDIR /usr/src/syscall
|
||
|
RUN gcc -O2 -o syscall syscall.c
|
||
|
ENV count 1000000
|
||
|
CMD ["sh", "-c", "./syscall ${count}"]
|