Skip to content

feat: add docker builder use nix#911

Merged
fumiama merged 5 commits intoFloatTech:masterfrom
Nobooooody:master
May 19, 2024
Merged

feat: add docker builder use nix#911
fumiama merged 5 commits intoFloatTech:masterfrom
Nobooooody:master

Conversation

@Nobooooody
Copy link
Copy Markdown
Contributor

No description provided.

@Nobooooody
Copy link
Copy Markdown
Contributor Author

Nobooooody commented May 18, 2024

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
Copy link
Copy Markdown
Contributor Author

Nobooooody commented May 18, 2024

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

@fumiama fumiama merged commit 6210ed9 into FloatTech:master May 19, 2024
@Nobooooody
Copy link
Copy Markdown
Contributor Author

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

YumeMichi added a commit to YumeMichi/ZeroBot-Plugin that referenced this pull request Jun 4, 2024
* https://github.com/FloatTech/ZeroBot-Plugin:
  fix: workflow panic
  fix: workflow panic
  chore: downgrade indirect deps
  chore: drop win386 supports
  chore: update sqlite3 to 1.29.10
  fix(workflow): nightly cache
  chore: bump deps (FloatTech#917)
  🔖 v1.8.1
  chore: update deps
  chore: update deps
  fix robbery bug:Wallet is negative (FloatTech#914)
  chore: update deps
  fix(aireply): autoregistered with midfix `_`
  feat: add docker builder use nix (FloatTech#911)
  feat: add an action to make gomod2nix.toml auto update when go.mod/go.sum update (FloatTech#909)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants