1 2 3 4 5 6
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}"]