Skip to content

Commit

Permalink
Use new image format in cargo-maelstrom.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfachan committed Jul 11, 2024
1 parent d46a814 commit d1395ef
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cargo-maelstrom.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ environment = { HOME = "/tmp" }
[[directives]]
filter = "package.equals(maelstrom-pytest) && test.equals(integration_test)"
include_shared_libraries = true
image.name = "docker://python:3.11-slim"
image.use = ["layers", "environment"]
image = "docker://python:3.11-slim"
added_layers = [
{ stubs = ["/{proc,tmp}/", "/dev/{null,fuse}"] },
{ paths = ["crates/maelstrom-pytest/src/python.tar"], canonicalize = true },
Expand All @@ -70,8 +69,7 @@ enable_writable_file_system = true
[[directives]]
filter = "package.equals(maelstrom-go-test) && test.equals(integration_test)"
include_shared_libraries = true
image.name = "docker://golang"
image.use = ["layers", "environment"]
image = "docker://golang"
added_layers = [
{ stubs = ["/{proc,sys,tmp}/", "/dev/{full,fuse,urandom,random,null,zero}"] },
{ paths = ["<build-dir>/maelstrom-go-test"], canonicalize = true }
Expand Down Expand Up @@ -129,8 +127,7 @@ added_layers = [{ stubs = [ "root/", "proc/", "tmp/", "dev/fuse", "dev/null" ] }
[[directives]]
filter = "package.equals(cargo-maelstrom) && test.equals(integration_test)"
include_shared_libraries = true
image.name = "docker://rust:alpine"
image.use = ["layers", "environment"]
image = "docker://rust:alpine"
added_layers = [
{ stubs = ["/dev/{full,fuse,null,urandom,random,zero}"] },
{ paths = ["<build-dir>/cargo-maelstrom"], canonicalize = true }
Expand Down

0 comments on commit d1395ef

Please sign in to comment.