summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/workloads/syscall/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/workloads/syscall/Dockerfile')
-rw-r--r--benchmarks/workloads/syscall/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmarks/workloads/syscall/Dockerfile b/benchmarks/workloads/syscall/Dockerfile
new file mode 100644
index 000000000..a2088d953
--- /dev/null
+++ b/benchmarks/workloads/syscall/Dockerfile
@@ -0,0 +1,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}"]