Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid kvm in dockerImage builds #190

Merged
merged 1 commit into from
May 30, 2024
Merged

Conversation

enobayram
Copy link
Contributor

@enobayram enobayram commented May 30, 2024

By using copyToRoot instead of a generic runAsRoot.

Fixes #189

By using copyToRoot instead of a generic runAsRoot
@enobayram enobayram self-assigned this May 30, 2024
@enobayram
Copy link
Contributor Author

enobayram commented May 30, 2024

$ docker load < $(nix build github:kadena-io/chainweb-data/enis/no-kvm-docker-build#chainweb-data-docker --no-link --print-out-paths)
trace: WARNING: 9.6.3 is out of date, consider using 9.6.4.
Loaded image: chainweb-data:latest

$ docker run -ti --rm chainweb-data:latest --help
chainweb-data - Processing and analysis of Chainweb data

Usage: chainweb-data (COMMAND | COMMAND | COMMAND 
                       (--dbstring ARG | [--dbhost ARG] [--dbport ARG] 
                         [--dbuser ARG] [--dbpass ARG] --dbname ARG) 
                       [--service-https] --service-host HOST 
                       [--service-port PORT] [--level ARG] 
                       [(-m|--migrate) | --ignore-schema-diff] 
                       [--migrations-folder PATH] 
                       [--extra-migrations-folder PATH])

Available options:
  --dbstring ARG           Postgres Connection String
  --dbhost ARG             Postgres DB hostname
...

@mbwmbw1337
Copy link
Contributor

Confirmed to solve #189.

@enobayram enobayram merged commit a75c15c into master May 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest Master nix-build Seg Fault on Docker Image Build
2 participants