!VhbWwlUdjHkamKnfrK:nixos.org

Nix: Cloud Native

174 Members
44 Servers

Load older messages


SenderMessageTime
19 Oct 2022
@ronixx:matrix.orgroshan | byteio.in 🌷image.png
Download image.png
09:55:04
@ronixx:matrix.orgroshan | byteio.in 🌷im curious to knwo can i directly point my fastAppImage in kubenetes without docker registry09:55:05
@aktaboot:tchncs.de@aktaboot:tchncs.de left the room.20:54:35
29 Oct 2022
@seb:the-apothecary.clubTseb joined the room.06:12:19
@uep:matrix.orguep joined the room.06:15:19
@uep:matrix.orguep

Hi folks.. random q. In the past, I've built lambdas for AWS using Rust, and basically the whole image is a zip file with a single "bootstrap" executable that is the runtime (that would normally be responsible for starting a whole python or node or whatever framework).

But of course that executable has dependencies on libc.so in FHS paths, so building that same executable on nixos is more involved.

06:25:04
@uep:matrix.orguep

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
06:26:40
@uep:matrix.orguep *

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
06:28:28
31 Oct 2022
@jake_gillberg:matrix.orgjake_gillbergLambdas also support containers, so a dockerTools approach might be another angle of attack?14:39:44
@tinybronca:sibnsk.netunderpantsgnome changed their display name from underpantsgnome! to underpantsgnome.20:30:28
1 Nov 2022
@uep:matrix.orguep yeah but it's all so much more.. stuff 03:17:19
2 Nov 2022
@claesatwork:matrix.orgClaes joined the room.00:47:52
3 Nov 2022
@jackdk:matrix.orgjackdk
In reply to @uep:matrix.org

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
https://github.com/bellroy/wai-handler-hal/tree/master/wai-handler-hal-example uses haskell.nix to statically link against musl. Not sure if you can make it work for your standard? There are also dockerTools examples there
07:05:50
@jackdk:matrix.orgjackdk
In reply to @uep:matrix.org

Anyone have any recommendations or references? My current thoughts, before even really exploring further:

  • static musl target
  • build in a ubuntu (or whatever) systemd-nspawn container
  • some kind of hack in the build environment to emulate FHS
  • patchelf, in the reverse of how we normally use it, to turn store paths into FHS (ugh)
* https://github.com/bellroy/wai-handler-hal/tree/master/wai-handler-hal-cdk uses haskell.nix to statically link against musl. Not sure if you can make it work for your standard? There are also dockerTools examples there
07:06:22
@uep:matrix.orguepI'm leaning more towards musl as time goes on07:40:25
@ronixx:matrix.orgroshan | byteio.in 🌷 changed their display name from ronixx to 🙃.08:55:24
@ronixx:matrix.orgroshan | byteio.in 🌷 changed their display name from 🙃 to nixie 😎.08:56:36
@ronixx:matrix.orgroshan | byteio.in 🌷 changed their display name from nixie 😎 to nixie 🤓.08:56:55
@ronixx:matrix.orgroshan | byteio.in 🌷 set a profile picture.08:57:27
@andreasfelix:matrix.orgFelix Andreas left the room.14:43:52
@andreasfelix:matrix.orgFelix Andreas joined the room.14:44:08
5 Nov 2022
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk changed their profile picture.16:21:17
6 Nov 2022
@punctumm:matrix.orgspott joined the room.18:26:16
13 Nov 2022
@nahfe:nahfe.xyz@nahfe:nahfe.xyz joined the room.19:46:28
@nahfe:nahfe.xyz@nahfe:nahfe.xyz left the room.19:46:45
@nahfe:nahfe.xyz@nahfe:nahfe.xyz joined the room.19:46:53
@nahfe:nahfe.xyz@nahfe:nahfe.xyz left the room.19:48:30
15 Nov 2022
@punctumm:matrix.orgspott changed their display name from Andrew Spott to spott.03:30:47
16 Nov 2022
@omlet:matrix.org@omlet:matrix.org joined the room.20:35:42
18 Nov 2022
@asymmetric:matrix.dapp.org.uk@asymmetric:matrix.dapp.org.uk changed their profile picture.10:10:46

Show newer messages


Back to Room ListRoom Version: 6