hofstadter-io / cuetils

CLI and library for diff, patch, and ETL operations on CUE, JSON, and Yaml
BSD 3-Clause "New" or "Revised" License
78 stars 6 forks source link

No `cuetils` executable in container image v0.4 #37

Open qjcg opened 2 years ago

qjcg commented 2 years ago
# Executable file not found in $PATH
$ docker run -it --rm hofstadter/cuetils:v0.4
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "cuetils": executable file not found in $PATH: unknown.

# Nothing found
$ docker run -it --rm --entrypoint find hofstadter/cuetils:v0.4 / -iname cuetils
qjcg commented 2 years ago

Note --- there IS however a binary present in the v0.4-scratch image.

verdverm commented 2 years ago

Is it here? https://github.com/hofstadter-io/cuetils/blob/main/ci/cuetils/docker/Dockerfile.jessie#L4

facepalm?

qjcg commented 2 years ago

Haha yes, that's it!

See:

$ docker run -it --rm --entrypoint local hofstadter/cuetils:v0.4
CUE Utilites for bulk ETL, diff, query, and other operations on data and config

Usage:
  cuetils [command]

Available Commands:
  completion  Generate completion helpers for popular terminals
  count       count nodes in file(s)
[...]