We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02fcd2c commit a8315caCopy full SHA for a8315ca
1 file changed
teste2.lua
@@ -0,0 +1,15 @@
1
+local ship = require("LuaShip")
2
+imagem = ship.create_machine("alpine:latest")
3
+imagem.provider = "podman"
4
+imagem.add_comptime_command("apk update")
5
+imagem.add_comptime_command("apk add --no-cache gcc musl-dev curl")
6
+imagem.add_runtime_command("gcc /teste/teste.c -o /teste/teste.out")
7
+imagem.start({
8
+ flags={
9
+ "--memory=200m",
10
+ "--network=host"
11
+ },
12
+ volumes={
13
+ {".","/teste"}
14
+ }
15
+})
0 commit comments