Skip to content

Commit

Permalink
fixup! feat(cli): use cruntime to build snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia committed May 3, 2024
1 parent cfa7ab7 commit eeb9b62
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions apps/cli/src/runc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,25 @@ export const createConfig = (imageInfo: ImageInfo) => {
destination: "/sys/fs/cgroup",
type: "cgroup",
source: "cgroup",
options: ["nosuid", "noexec", "nodev", "relatime", "ro"],
options: ["nosuid", "noexec", "nodev", "relatime", "rw"],
},
{
destination: "/tmp",
type: "tmpfs",
source: "tmpfs",
options: ["nosuid", "strictatime", "mode=1777", "size=65536k"],
options: ["nosuid", "nodev", "mode=1777"],
},
{
destination: "/var/tmp",
type: "tmpfs",
source: "tmpfs",
options: ["nosuid", "strictatime", "mode=1777", "size=65536k"],
options: ["nosuid", "nodev", "mode=1777"],
},
{
destination: "/run",
type: "tmpfs",
source: "tmpfs",
options: ["nosuid", "nodev", "mode=0755"],
},
],
linux: {
Expand Down

0 comments on commit eeb9b62

Please sign in to comment.