summaryrefslogtreecommitdiffstats
path: root/third_party/rust/num_cpus/ci
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--third_party/rust/num_cpus/ci/cgroups/Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rust/num_cpus/ci/cgroups/Dockerfile b/third_party/rust/num_cpus/ci/cgroups/Dockerfile
new file mode 100644
index 0000000000..7636a477bf
--- /dev/null
+++ b/third_party/rust/num_cpus/ci/cgroups/Dockerfile
@@ -0,0 +1,9 @@
+FROM rust:latest
+
+WORKDIR /usr/num_cpus
+
+COPY . .
+
+RUN cargo build
+
+CMD [ "cargo", "test", "--lib" ]