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

Problem med jq i Docker #1

Open
LemurP opened this issue Dec 5, 2024 · 1 comment · May be fixed by #2
Open

Problem med jq i Docker #1

LemurP opened this issue Dec 5, 2024 · 1 comment · May be fixed by #2

Comments

@LemurP
Copy link
Collaborator

LemurP commented Dec 5, 2024

Lager og kjører Dockerimage fra rot:
docker build -t kca . && docker run -it kca
Kjører deretter kca_init uten problemer, men støter på problem med kca_hotspots

Steg 2 Genererer kompleksitet fil
/app/scripts/../bin/nix/jq: error while loading shared libraries: libonig.so.5: cannot open shared object file: No such file or directory
thread 'main' panicked at library/std/src/io/stdio.rs:1118:9:
failed printing to stdout: Broken pipe (os error 32)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Ser ut som at jq ikke klarer å finne noe den trenger, men jeg vet ikke hva det er.

@KantegaAndreas ser du hva dette skyldes?

@Northcode
Copy link
Collaborator

Northcode commented Dec 6, 2024

ja, antar du må installere https://packages.ubuntu.com/focal/amd64/libonig5/ i docker imaget.
RUN apt-get install -y libonig5

@henninghalvsb1 henninghalvsb1 linked a pull request Dec 12, 2024 that will close this issue
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 a pull request may close this issue.

2 participants