ZeroBot-Plugin icon indicating copy to clipboard operation
ZeroBot-Plugin copied to clipboard

feat: add docker builder use nix

Open Nobooooody opened this issue 1 year ago • 2 comments

Nobooooody avatar May 18 '24 16:05 Nobooooody

only tested on nixos docker/podman require test on windows/darwin docker

nix build .#docker_builder
cp $(readlink result) ./ZeroBot-Plugin.tar.gz
gzip -d ZeroBot-Plugin.tar.gz
docker load -i ZeroBot-Plugin.tar
docker run -it zerobot-plugin:latest ZeroBot-Plugin # should add some config to map port and files

Nobooooody avatar May 18 '24 16:05 Nobooooody

could test docker image ZeroBot-Plugin.tar within this zip x86_64-linux-docker_image_zbp.zip

Nobooooody avatar May 18 '24 16:05 Nobooooody

only tested on nixos docker/podman require test on windows/darwin docker

nix build .#docker_builder
cp $(readlink result) ./ZeroBot-Plugin.tar.gz
gzip -d ZeroBot-Plugin.tar.gz
docker load -i ZeroBot-Plugin.tar
docker run -it zerobot-plugin:latest ZeroBot-Plugin # should add some config to map port and files

tested on wsl based windows dockerd

Nobooooody avatar May 19 '24 09:05 Nobooooody