@@ -53,35 +53,3 @@ CMD ["/app/a.out"]
5353run ` box build -f Dockerfile `
5454
5555This will bring in libc interaces (as imports) and create the necessary FS state, thus declaritivey creating a ready-to-run Wasm binary.
56-
57- ### Difference in base image/layer
58-
59- Debian or Ubuntu or Alpine, etc. - what these things mean in a boxer context
60-
61- Language stacks as base image: node, ruby, python, etc.
62-
63- Thoughts from relay:
64-
65- //TODO: START HERE: work backward
66- - make the compiled Wasm from marcotte with just "socket()" being executed
67-
68- - wrap (by hand) in a _start() function, compile it to wasm
69-
70- - test it, then do open() and gettimeofday(), then do all others
71-
72- - build the rest of /net calls into marcotte -- think on https://github.com/chipmk/tcpip.js/
73- - see: /Users/danielphillips/temp/temp/c_rust_link_example
74-
75- - get _start() wrapping into boxer cli
76-
77- - continue building out boxer cli, so that net calls can just work
78-
79- - FS, one call at a time
80-
81- // execute box
82- const result = _start();
83- // which:
84- // - executes a box's start_func, which comes from entrypoint/cmd line
85- // - this is generated by boxer cli build, not marcotte, marcotte does everything else for system layering
86- // - if a (/net) syscall is called, calls: r()
87- // - which proxies a syscall to the edge server over websocket
0 commit comments